Browse Source

Fix release tag ci (#41)

Reviewed-on: https://gitea.com/xorm/reverse/pulls/41
main
Lunny Xiao 2 years ago
parent
commit
30f4388dd4
  1. 2
      .gitea/workflows/release-tag.yml

2
.gitea/workflows/release-tag.yml

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

Loading…
Cancel
Save