feat: add version updater bot
This commit is contained in:
parent
3a7e1cf527
commit
9aa2e00b16
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
|||||||
GOOS: ${{ env.OS }}
|
GOOS: ${{ env.OS }}
|
||||||
GOARCH: ${{ matrix.arch }}
|
GOARCH: ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags "-X main.version=$(git describe --tags --always)" -o fabric-${OS}-${{ matrix.arch }} .
|
go build -ldflags "-X version.version=$(git describe --tags --always)" -o fabric-${OS}-${{ matrix.arch }} .
|
||||||
|
|
||||||
- name: Build binary on Windows
|
- name: Build binary on Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
GOOS: windows
|
GOOS: windows
|
||||||
GOARCH: ${{ matrix.arch }}
|
GOARCH: ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags "-X main.version=$(git describe --tags --always)" -o fabric-windows-${{ matrix.arch }}.exe .
|
go build -ldflags "-X version.version=$(git describe --tags --always)" -o fabric-windows-${{ matrix.arch }}.exe .
|
||||||
|
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user