Skip to content

Commit

Permalink
Fix comparing current version and new version
Browse files Browse the repository at this point in the history
  • Loading branch information
akrantz01 committed Apr 10, 2024
1 parent c0555d2 commit 188e786
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,11 @@ jobs:
- name: Install yq
run: pipx install yq

- id: determine
run: >-
- name: Compare current version to released tags
id: determine
env:
GH_TOKEN: ${{ github.token }}
run: |
current_version=$(tomlq -r .package.version Cargo.toml)
new_version=$( \
gh api repos/:owner/:repo/git/refs/tags \
Expand Down

0 comments on commit 188e786

Please sign in to comment.