build release binaries with ci workflow

This commit is contained in:
2025-01-18 10:48:37 +01:00
parent e26c61e26f
commit a674c9c602
2 changed files with 1 additions and 7 deletions

View File

@@ -17,12 +17,6 @@ jobs:
with:
go-version: 1.22.11
- name: Display the version of go that we have installed
run: go version
- name: Display the release tag
run: echo ${{ github.ref_name}}
- name: Build the executables
run: ./mkrel.sh anydb ${{ github.ref_name}}

View File

@@ -57,8 +57,8 @@ app/dbentry.pb.go: app/dbentry.proto
buildlocal:
go build -ldflags "-X 'github.com/tlinden/anydb/cfg.VERSION=$(VERSION)'"
# binaries are being built by ci workflow on tag creation
release:
./mkrel.sh $(tool) $(version)
gh release create $(version) --generate-notes releases/*
install: buildlocal