Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Jun 7, 2024
1 parent ea3640d commit 3a08bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
git fetch origin main
OLD_VERSION=$(git diff HEAD~2 HEAD -- Cargo.toml | grep '^-version =' | sed 's/version = "\(.*\)"/\1/' | tr -d '-')
OLD_VERSION=${OLD_VERSION:-${{ steps.cargo_version.outputs.version }}}
OLD_VERSION=${OLD_VERSION:-${{ steps.cargo_version.outputs.new_version }}}
echo "Old Version: $OLD_VERSION"
echo "New Version: ${{ steps.cargo_version.outputs.new_version }}"
Expand Down

0 comments on commit 3a08bee

Please sign in to comment.