test: version release

This commit is contained in:
CyberL1 2025-02-16 09:53:54 +01:00
parent 692aafd6c8
commit 2b11bb9d55

View File

@ -32,7 +32,7 @@ jobs:
run: | run: |
export GOOS=${{ matrix.os }} export GOOS=${{ matrix.os }}
export GOARCH=${{ matrix.arch }} export GOARCH=${{ matrix.arch }}
go build go build -ldflags "-X holesail-proxy/utils.Version=1"
- name: Pack binary - name: Pack binary
run: zip holesail-proxy-${{ matrix.os }}-${{ matrix.arch }}.zip holesail-proxy${{ matrix.os == 'windows' && '.exe' || '' }} run: zip holesail-proxy-${{ matrix.os }}-${{ matrix.arch }}.zip holesail-proxy${{ matrix.os == 'windows' && '.exe' || '' }}
- name: Create release - name: Create release