Skip to content

Commit 2b3c64a

Browse files
committed
ci: try to fix release flow...
1 parent 2ce1809 commit 2b3c64a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ jobs:
3838

3939
- name: Check out code
4040
uses: actions/checkout@v5
41-
with:
42-
fetch-tags: true
4341

4442
- name: Build
4543
run: |
46-
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -v -ldflags="-X main.version=$(git describe --tags) -w -s" -o helmfile-nix-${{ matrix.os }}-${{ matrix.arch }}
44+
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -v -ldflags="-X main.version=$(git describe --tags --always) -w -s" -o helmfile-nix-${{ matrix.os }}-${{ matrix.arch }}
4745
4846
- name: Upload Release Asset
4947
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)