Skip to content

Commit

Permalink
Merge pull request #140 from JupiterOne/new-release-process-5
Browse files Browse the repository at this point in the history
new-release-process-5
  • Loading branch information
jablonnc authored Nov 14, 2023
2 parents 7963068 + bf1fc03 commit cdad049
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/internal_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,15 @@ jobs:
git add .
git commit -m "Updating composite tags and package.json version for v${{ env.NEW_VERSION }}"
- name: new_tags
env:
GITHUB_TOKEN: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }}
run: |
git tag v${{ env.NEW_VERSION }}
git push --follow-tags --set-upstream origin main
# We reset the major tag so workflow consumers automatically receive these changes
- name: reset_major_tag
env:
GITHUB_TOKEN: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }}
if: ${{ env.NEW_VERSION != steps.semver_versions.outputs.major }}
run: |
git tag -f v${{ steps.semver_versions.outputs.major }}
Expand Down

0 comments on commit cdad049

Please sign in to comment.