Skip to content

Commit

Permalink
Update .github/workflows/post-release.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Hohenheim <[email protected]>
  • Loading branch information
mockersf and janhohenheim authored Jul 6, 2024
1 parent 1f150f2 commit 49e8641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Read the current version from Cargo.toml
current_version=$(cargo metadata --format-version 1 --no-deps | \
jq --raw-output '.packages | .[] | select(.name == "bevy").version')
# Sanity check: current version should be 0.X.Y
# Sanity check: current version should be 0.X.Y-dev
if ! grep -q '^0\.[0-9]\+\.[0-9]\+-dev$' <<< "${current_version}"; then
echo "Invalid version (not in 0.X.Y-dev format): ${current_version}"
exit 1
Expand Down

0 comments on commit 49e8641

Please sign in to comment.