|
@ -12,12 +12,10 @@ jobs: |
|
|
- uses: actions/checkout@v3 |
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
fetch-depth: 0 |
|
|
fetch-depth: 0 |
|
|
- run: git fetch --force --tags |
|
|
|
|
|
- name: setup go |
|
|
- name: setup go |
|
|
uses: https://github.com/actions/setup-go@v4 |
|
|
uses: https://github.com/actions/setup-go@v4 |
|
|
with: |
|
|
with: |
|
|
go-version: '>=1.20.1' |
|
|
go-version: '>=1.20.1' |
|
|
- run: make generate |
|
|
|
|
|
- name: release-build |
|
|
- name: release-build |
|
|
run: go build -mod=vendor -ldflags="-s -w -X 'main.Version=${DRONE_TAG}'" -o bin/reverse-${DRONE_TAG}-linux-amd64 |
|
|
run: go build -mod=vendor -ldflags="-s -w -X 'main.Version=${DRONE_TAG}'" -o bin/reverse-${DRONE_TAG}-linux-amd64 |
|
|
- name: release-build-windows |
|
|
- name: release-build-windows |
|
|