Skip to content

Commit 075a50f

Browse files
committed
updated release
1 parent 163cef5 commit 075a50f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/release-binary.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
tags:
66
- "v*.*.*"
7-
branches:
8-
- feature/releaser
97

108
jobs:
119
goreleaser:
@@ -22,14 +20,9 @@ jobs:
2220
-
2321
name: Run GoReleaser
2422
uses: goreleaser/goreleaser-action@v3
23+
if: startsWith(github.ref, 'refs/tags/')
2524
with:
2625
version: latest
27-
args: --snapshot --rm-dist
26+
args: release --rm-dist
2827
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
-
31-
name: Upload assets
32-
uses: actions/upload-artifact@v3
33-
with:
34-
name: flagd
35-
path: dist/*
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)