Skip to content

Commit

Permalink
release: fix version set
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Mar 23, 2024
1 parent 7ac7198 commit 2be7fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .mise/tasks/release-plz
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
year="$(date +%Y)"
month="$(date +%-m)"
if echo "$cur_version" | grep -e "^$year\.$month\."; then
echo cargo set-version --bump patch
cargo set-version --bump patch
elif echo "$cur_version" | grep -e "^$year\."; then
echo cargo set-version --bump minor
cargo set-version --bump minor
else
cargo set-version "$year.1.0"
fi
Expand Down

0 comments on commit 2be7fe5

Please sign in to comment.