Skip to content

Commit

Permalink
V2/semver action 2 (#111)
Browse files Browse the repository at this point in the history
* Create git tab based on PR label
  • Loading branch information
EmadMokhtar authored Apr 28, 2024
1 parent a18367f commit 2b89e52
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@ jobs:
uses: robherley/go-test-action@v0

new-version:
name: Bump tag version (semver)
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- uses: 1k-off/action-semver-tag-release@1.0.1
name: Bump version and push tag
id: tag
with:
version: latest
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Echo the new tag
run: echo "The new tag is ${{ steps.tag.outputs.tag }}"
- name: Tag
uses: K-Phoen/semver-release-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Echo new tag
run: |
echo "New tag is ${{ steps.tag.outputs.tag }}"

0 comments on commit 2b89e52

Please sign in to comment.