File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - master
77 tags :
8+ - ' *'
89 pull_request :
910 branches :
1011 - master
3233 tag_with_ref : true
3334 always_pull : true
3435 add_git_labels : true
36+ - name : Set goreleaser env varbiales
37+ run : |
38+ echo "::set-env name=REVISION::$(git describe --tags --always --dirty)"
39+ echo "::set-env name=BRANCH::$(git rev-parse --abbrev-ref HEAD)"
40+ echo "::set-env name=BUILD_DATE::$(date +'%Y.%m.%d-%H:%M:%S')"
41+ - name : Run GoReleaser
42+ uses : goreleaser/goreleaser-action@v2
43+ if : startsWith(github.ref, 'refs/tags/')
44+ with :
45+ version : latest
46+ args : release --rm-dist
47+ env :
48+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ release:
2727 github :
2828 owner : grepplabs
2929 name : mqtt-proxy
30- draft : true
30+ draft : false
3131 prerelease : auto
You can’t perform that action at this time.
0 commit comments