Skip to content

Commit

Permalink
Merge pull request #1380 from nextstrain/chore/conda-remove-nextalign
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov authored Jan 14, 2024
2 parents ce72275 + e437b27 commit 93a7146
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions scripts/publish_bioconda
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ THIS_DIR="$(
export artifacts_dir="${THIS_DIR}/../artifacts"

artifacts=(
'nextalign-aarch64-apple-darwin'
'nextalign-x86_64-apple-darwin'
'nextalign-x86_64-unknown-linux-gnu'
'nextclade-aarch64-apple-darwin'
'nextclade-x86_64-apple-darwin'
'nextclade-x86_64-unknown-linux-gnu'
Expand Down Expand Up @@ -83,15 +80,13 @@ git switch --quiet --create "bump/nextclade-${version}"

## Bump the version
"${THIS_DIR}/update-bioconda.py" "nextclade" "${version}" "${artifacts_dir}" "recipes/nextclade/meta.yaml"
"${THIS_DIR}/update-bioconda.py" "nextalign" "${version}" "${artifacts_dir}" "recipes/nextalign/meta.yaml"

# Print the diff
git --no-pager diff --unified=0 --no-prefix --no-commit-id --word-diff

# Stage and commit the changes
git add "recipes/nextclade/meta.yaml"
git add "recipes/nextalign/meta.yaml"
git commit --quiet -m "Update nextclade and nextalign to ${version}"
git commit --quiet -m "Update nextclade to ${version}"

# Push to the fork
git push --quiet --set-upstream nextstrain "bump/nextclade-${version}"
Expand All @@ -108,7 +103,7 @@ maintainers_gh_handles=$(tail -n +3 recipes/nextclade/meta.yaml | dasel select -
# Create PR body. This is what goes to the first message.
function pr_body() {
cat <<~~
Update [nextclade](https://bioconda.github.io/recipes/nextclade/README.html) and [nextalign](https://bioconda.github.io/recipes/nextalign/README.html): ${version_old}${version}.
Update [nextclade](https://bioconda.github.io/recipes/nextclade/README.html): ${version_old}${version}.
<img src=https://img.shields.io/conda/dn/bioconda/nextclade.svg />
Expand Down Expand Up @@ -139,7 +134,7 @@ Note: this pull request is submitted [automatically](https://github.com/nextstra
# Submit the PR, reading message body from stdin
function submit_pr() {
pr_body | gh pr create \
--title "Update nextclade and nextalign to ${version}" \
--title "Update nextclade to ${version}" \
--body-file - \
--repo "bioconda/bioconda-recipes"
}
Expand Down

1 comment on commit 93a7146

@vercel
Copy link

@vercel vercel bot commented on 93a7146 Jan 14, 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.vercel.app
nextclade-nextstrain.vercel.app
nextclade-git-master-nextstrain.vercel.app

Please sign in to comment.