Skip to content

Commit

Permalink
Fix build workflow on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Jun 17, 2020
1 parent 465445f commit 0d3be0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
go-version: 1.14
- name: Build
run: make all
- name: Bump version and push tag
- id: git-auto-tag
name: Bump version and push tag
uses: anothrNick/[email protected]
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- run: git tag ${{ steps.git-auto-tag.outputs.new_tag }}
if: github.ref == 'refs/heads/master'
- name: Release
if: github.ref == 'refs/heads/master'
run: make release
Expand Down

0 comments on commit 0d3be0d

Please sign in to comment.