Skip to content

Commit 0d3be0d

Browse files
committed
Fix build workflow on master branch
1 parent 465445f commit 0d3be0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@ jobs:
2424
go-version: 1.14
2525
- name: Build
2626
run: make all
27-
- name: Bump version and push tag
27+
- id: git-auto-tag
28+
name: Bump version and push tag
2829
uses: anothrNick/[email protected]
2930
if: github.ref == 'refs/heads/master'
3031
env:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
WITH_V: true
3334
DEFAULT_BUMP: patch
35+
- run: git tag ${{ steps.git-auto-tag.outputs.new_tag }}
36+
if: github.ref == 'refs/heads/master'
3437
- name: Release
3538
if: github.ref == 'refs/heads/master'
3639
run: make release

0 commit comments

Comments
 (0)