Skip to content

Commit

Permalink
fix: updating version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kkostov committed Feb 12, 2024
1 parent 008bb1f commit dba04be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/set-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
token: ${{ secrets.PAT }}
- name: Update version.txt
run: echo ${{ inputs.version }} > version.txt

- name: Update library version
run: bash ./setversion.sh

- name: Commit version change
run: |
git config --global user.name 'Daniel Jilg'
git config --global user.email 'winsmith@users.noreply.github.com'
git tag ${{ inputs.version }}
git commit -am "Update version to ${{ inputs.version }}"
git push
git push origin ${{ inputs.version }}
git tag ${{ inputs.version }}
git push --follow-tags

0 comments on commit dba04be

Please sign in to comment.