Skip to content

Commit

Permalink
Switch tag to find this repository's version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennett-Petzold committed Feb 26, 2024
1 parent ed19137 commit 0d79857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
git config --global user.name 'Tag updating bot'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.TAG_TOKEN }}@github.com/${{ github.repository }}
VERSION="$(cargo metadata --format-version 1 | jq '.packages | .[] | select(.name == "ncsu_cal_lib")| .version' | tr -d '"')"
VERSION="$(cargo metadata --format-version 1 | jq '.packages | .[] | select(.name == "sw8s_rgui")| .version' | tr -d '"')"
git tag -m '' -a v"$VERSION"
git push origin v"$VERSION"
continue-on-error: true

0 comments on commit 0d79857

Please sign in to comment.