Skip to content

Commit

Permalink
test tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
caioricciuti committed May 25, 2024
1 parent 8a592a7 commit 0ef447b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:

- name: Set up Git
run: |
git config --global user.name ${{ secrets.GIT_USER_NAME }}
git config --global user.email ${{ secrets.GIT_USER_EMAIL }}
git config --global user.name "${{ secrets.GIT_USER_NAME }}"
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
- name: Get current version
id: get_version
Expand Down Expand Up @@ -56,14 +56,14 @@ jobs:
echo "new_tag=$new_tag" >> $GITHUB_ENV
else
echo "Tag does not exist."
echo "new_tag=$new_tag" >> $GITHUB_ENV
echo "new_tag=${{ env.new_tag }}" >> $GITHUB_ENV
- name: Create new tag
run: |
set -e # Fail on first error
git tag ${{ env.new_tag }}
git push origin ${{ env.new_tag }}
git tag "${{ env.new_tag }}"
git push origin "${{ env.new_tag }}"
- name: Create GitHub release
uses: actions/create-release@v1
Expand Down

0 comments on commit 0ef447b

Please sign in to comment.