Skip to content

Commit

Permalink
Use an Action to create and push a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Nov 6, 2023
1 parent a679849 commit f8223c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ jobs:
- name: Create Tag
if: "${{ steps.changelog.outputs.version != steps.newest-tag.outputs.version }}"
# If the latest tag is not the same as the latest changelog version, that means it's time for a new release
run: |
git tag v"${{ steps.changelog.outputs.version }}"
git push --tags
uses: joutvhu/create-tag@v1
with:
tag_name: "v${{ steps.changelog.outputs.version }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Download Artifacts
if: "${{ steps.changelog.outputs.version != steps.newest-tag.outputs.version }}"
uses: actions/download-artifact@v3
Expand Down

0 comments on commit f8223c8

Please sign in to comment.