Skip to content

Commit

Permalink
bump version and add tag automatically (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman authored Nov 22, 2024
1 parent c690b0f commit b88af4c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Version Bump

on:
push:
# branches:
# - main
branches:
- main
paths:
- VERSION

Expand All @@ -14,6 +14,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get version
id: vars
run: echo "version=v$(cat VERSION)" >> $GITHUB_OUTPUT
- uses: rickstaa/[email protected]
with:
tag: "$(cat VERSION)"
tag: ${{ steps.vars.outputs.version }}

0 comments on commit b88af4c

Please sign in to comment.