Skip to content

Commit

Permalink
Updated VERSION and added bump tag ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Jan 22, 2024
1 parent 32f27d0 commit b2a6f21
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/bump-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- 'release-*'
paths:
- 'VERSION'
jobs:
truth-update:
name: Check and Update Truth Tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true

- name: Existing Tag Check
id: truth
run: |
VERSION_TAG=$(git tag -l $(cat VERSION))
if [ ! -z "$VERSION_TAG" ]; then
echo "exists=true" >> $GITHUB_OUTPUT
fi
- name: Update Tag
if: ${{ steps.truth.outputs.exists }}
run: |
git tag $(cat VERSION)
git push --tags
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0
3.0

0 comments on commit b2a6f21

Please sign in to comment.