Set correct goreleaser version and run on push (#267)

Set the correct goreleaser version with v prefix
and enable run the pipeline on every push
This commit is contained in:
Maycon Santos
2022-03-14 13:38:06 +01:00
committed by GitHub
parent 1660a915e2
commit 3a69f334e8
2 changed files with 4 additions and 41 deletions

View File

@@ -4,6 +4,9 @@ on:
push:
tags:
- 'v*'
branches:
- main
pull_request:
jobs:
release:
@@ -50,7 +53,7 @@ jobs:
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: 1.6.3
version: v1.6.3
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}