Skip to content

Commit ce950c1

Browse files
Update release.yml
1 parent 072911c commit ce950c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ run-name: Release ${{ github.ref_name }}
33
on:
44
push:
55
tags:
6-
- "[0-9]+.[0-9]+.[0-9]+(-[a-zA-Z0-9]+)?"
6+
- "[0-9]+.[0-9]+.[0-9]+"
7+
- "[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]+"
78
jobs:
89

910
CreateRelease:
@@ -37,4 +38,4 @@ jobs:
3738
with:
3839
go-version: '1.21'
3940
- run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-X forklift/Commands.Version=${{ github.ref_name }} -extldflags '-static'" -o bin/forklift_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }} -tags no_lzma2
40-
- run: gh release upload ${{ github.ref_name }} bin/forklift* --clobber
41+
- run: gh release upload ${{ github.ref_name }} bin/forklift* --clobber

0 commit comments

Comments
 (0)