Skip to content

Commit

Permalink
Merge pull request #6 from mobilecoinofficial/initial-release
Browse files Browse the repository at this point in the history
use new_tag and --force on the tag creation
  • Loading branch information
jgreat authored Apr 8, 2022
2 parents d91bf43 + 02e25bf commit 624d864
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: Get major and minor values for new tag
id: tags
env:
TAG: ${{ steps.bump.outputs.tag }}
TAG: ${{ steps.bump.outputs.new_tag }}
run: |
export MAJOR_MINOR=${TAG%.*}
export MAJOR=${MAJOR_MINOR%.*}
git tag "${MAJOR}"
git tag "${MAJOR_MINOR}"
git tag "${TAG}"
git push --tags --force
git tag --force "${MAJOR}"
git tag --force "${MAJOR_MINOR}"
git tag --force "${TAG}"
git push --tags

0 comments on commit 624d864

Please sign in to comment.