We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce1809 commit 2b3c64aCopy full SHA for 2b3c64a
.github/workflows/release.yml
@@ -38,12 +38,10 @@ jobs:
38
39
- name: Check out code
40
uses: actions/checkout@v5
41
- with:
42
- fetch-tags: true
43
44
- name: Build
45
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 }}
+ 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 }}
47
48
- name: Upload Release Asset
49
uses: actions/upload-release-asset@v1
0 commit comments