Skip to content

Commit fff6f91

Browse files
committed
use goreleaser.yaml file
1 parent be15e1a commit fff6f91

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
args: release --clean --ldflags="-X main.Version=kosli-dev-${{ github.ref_name }}"
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
TAG: ${{ env.VERSION }}

.goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
builds:
2+
- id: aws-vault
3+
ldflags:
4+
- "-X main.Version=kosli-dev-{{.Env.TAG}}"

0 commit comments

Comments
 (0)