Skip to content

Commit

Permalink
feat: adding minor release tag (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoSix authored Sep 13, 2023
1 parent 8fd8108 commit 5f4bdfa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/actions_release_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: release info
run: |
echo new_release_published - ${{ steps.rc.outputs.new_release_published }}
echo new_release_version - ${{ steps.rc.outputs.new_release_version }}
echo last_release_version - ${{ steps.rc.outputs.last_release_version }}
echo new_release_major_version - ${{ steps.rc.outputs.new_release_major_version }}
- name: create major release tag
if: steps.rc.outputs.new_release_published == 'true'
env:
MAJOR: ${{ steps.rc.outputs.new_release_major_version }}
MINOR: ${{ steps.rc.outputs.new_release_minor_version }}
RELEASE: ${{ steps.rc.outputs.new_release_version }}
run: |
git config --global user.email "bot@github.com"
git config --global user.name "github-bot"
git tag -f "v$MAJOR" "v$RELEASE"
git tag -f "v$MAJOR.$MINOR" "v$RELEASE"
git push origin "v$MAJOR" --force

0 comments on commit 5f4bdfa

Please sign in to comment.