Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: achour94 <berrahmaachour@gmail.com>
  • Loading branch information
achour94 committed Dec 4, 2024
1 parent ad6b9a3 commit bbd7cf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ jobs:
run: |
git checkout -b release-v${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }} ${{ github.event.inputs.gitReference }}
- name: Create commit and tag
- name: Create tag and push
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Release v${{ env.GITHUB_SHORT_VERSION }}"
git tag v${{ env.GITHUB_SHORT_VERSION }}
git push origin release-v${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }}
git push origin v${{ env.GITHUB_SHORT_VERSION }}

0 comments on commit bbd7cf0

Please sign in to comment.