Skip to content

Commit

Permalink
use environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Jan 14, 2025
1 parent c1f8134 commit 109818f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/update-latest-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
git config user.email [email protected]
- name: tag new target
run: git tag -f ${{ github.event.inputs.major_version_tag }} ${{ github.event.inputs.source_tag }}
env:
SOURCE_TAG: ${{ github.event.inputs.source_tag }}
MAJOR_VERSION_TAG: ${{ github.event.inputs.major_version_tag }}
run: git tag -f ${MAJOR_VERSION_TAG} ${SOURCE_TAG}

- name: push new tag
run: git push origin ${{ github.event.inputs.major_version_tag }} --force
env:
MAJOR_VERSION_TAG: ${{ github.event.inputs.major_version_tag }}
run: git push origin ${MAJOR_VERSION_TAG} --force

0 comments on commit 109818f

Please sign in to comment.