Skip to content

Commit

Permalink
chore: omit quotes in cargo package version
Browse files Browse the repository at this point in the history
Use "raw" output format of `dasel`, otherwise the resulting version string contains needless quotation marks
  • Loading branch information
ivan-aksamentov committed Feb 13, 2024
1 parent 1ad712f commit d874d1d
Showing 1 changed file with 1 addition and 1 deletion.
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 -s ".package.version" -f "packages/nextclade/Cargo.toml")
version=$(dasel select -r toml -w - -s ".package.version" -f "packages/nextclade/Cargo.toml")
echo "Running \`cargo build\` to update 'Cargo.lock' file"
cargo build --quiet >/dev/null
Expand Down

0 comments on commit d874d1d

Please sign in to comment.