Skip to content

Commit

Permalink
chore: release cli 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Feb 17, 2024
1 parent 9010d85 commit 27d4a31
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
export PATH="${PATH}:${HOME}/bin"
version=$(dasel select -p toml -s ".package.version" -f "packages/nextclade/Cargo.toml")
version=$(dasel select -p toml -s ".workspace.package.version" -f "Cargo.toml")
if [[ "$version" =~ (rc|beta|alpha) ]]; then
export DATA_FULL_DOMAIN="https://data.master.clades.nextstrain.org/v3"
fi
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Nextclade 3.2.1

### Nextclade CLI

#### Fix "Dataset not found" error when using `nextclade dataset get` with `--tag` argument.

This fixes a bug in the dataset filtering logic causing "Dataset not found" error when even correct name and tag were requested using `nextclade dataset get` with `--tag` argument.


## Nextclade 3.2.0

### General
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude = [

[workspace.package]
name = "nextclade"
version = "3.2.0"
version = "3.2.1"
description = "Alignment, mutation calling, phylogenetic placement, clade assignment and quality control checks for viral genetic sequences. Library module."
repository = "https://github.com/nextstrain/nextclade"
documentation = "https://docs.nextstrain.org/projects/nextclade/en/stable/"
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli_get_data_full_domain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ THIS_DIR="$(

: "${1:?Branch name is required as the first argument.}"

version=$(dasel select -p toml -s ".package.version" -f "packages/nextclade-cli/Cargo.toml")
version=$(dasel select -p toml -s ".workspace.package.version" -f "Cargo.toml")
prerel=$("${THIS_DIR}/semver" get prerel "${version}" | cut -d '.' -f 1)
branch="${1}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_docker
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ declare -a BASE_IMAGES=(
"debian"
)

version=$(dasel select -p toml -s ".package.version" -f "packages/nextclade-cli/Cargo.toml")
version=$(dasel select -p toml -s ".workspace.package.version" -f "Cargo.toml")
version_major=$("${THIS_DIR}/semver" get major "${version}")
release_type=$("${THIS_DIR}/semver" get prerel "${version}" | cut -d '.' -f 1)
release_type=${release_type:=latest}
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_github
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ done
[ -z "$repo" ] && echo "--repo is required" >/dev/stderr && exit 1
[ -z "$git_sha" ] && echo "--git_sha is required" >/dev/stderr && exit 1

version=$(dasel select -p toml -s ".package.version" -f "packages/nextclade-cli/Cargo.toml")
version=$(dasel select -p toml -s ".workspace.package.version" -f "Cargo.toml")
release_type=$("${THIS_DIR}/semver" get prerel "${version}" | cut -d '.' -f 1)
prerelease_flag=${release_type:+--prerelease}
Expand Down
2 changes: 1 addition & 1 deletion scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [ "$1" == "cli" ]; then

echo "Bumping package versions in 'Cargo.toml' files"
cargo set-version --workspace --bump="${2:-}" >/dev/null
version=$(dasel select -r toml -w - -s ".package.version" -f "packages/nextclade/Cargo.toml")
version=$(dasel select -r toml -w - -s ".workspace.package.version" -f "Cargo.toml")
echo "Running \`cargo build\` to update 'Cargo.lock' file"
cargo build --quiet >/dev/null
Expand Down

0 comments on commit 27d4a31

Please sign in to comment.