Skip to content

Commit

Permalink
chore: fix bioconda script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jan 16, 2024
1 parent 43b4803 commit f037bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish_bioconda
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ git add -A
git reset --quiet --hard HEAD
git clean --quiet -dfx

home=$(tail -n +3 recipes/nextclade/meta.yaml | dasel select -r yaml -w json -s ".about.home" | jq -r)
summary=$(tail -n +3 recipes/nextclade/meta.yaml | dasel select -r yaml -w json -s ".about.summary" | jq -r)
maintainers_gh_handles=$(tail -n +3 recipes/nextclade/meta.yaml | dasel select -r yaml -w json -s ".extra.recipe-maintainers" | jq -r '[ .[] | "@" + . ] | join(", ")')
home=$(tail -n +3 recipes/nextclade/meta.yaml | sed "s|{{ pin_compatible(name, max_pin='x') }}|[]|g" | grep dasel select -r yaml -w json -s ".about.home" | jq -r)

This comment has been minimized.

Copy link
@corneliusroemer

corneliusroemer Jan 16, 2024

Member

is that grep intentional or from testing the sed script? 🙃

summary=$(tail -n +3 recipes/nextclade/meta.yaml | sed "s|{{ pin_compatible(name, max_pin='x') }}|[]|g" | dasel select -r yaml -w json -s ".about.summary" | jq -r)
maintainers_gh_handles=$(tail -n +3 recipes/nextclade/meta.yaml | sed "s|{{ pin_compatible(name, max_pin='x') }}|[]|g" | dasel select -r yaml -w json -s ".extra.recipe-maintainers" | jq -r '[ .[] | "@" + . ] | join(", ")')
# Create PR body. This is what goes to the first message.
function pr_body() {
Expand Down

1 comment on commit f037bb9

@vercel
Copy link

@vercel vercel bot commented on f037bb9 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextclade – ./

nextclade-nextstrain.vercel.app
nextclade.vercel.app
nextclade-git-master-nextstrain.vercel.app

Please sign in to comment.