mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 12:31:02 +01:00
build release binaries with ci workflow
This commit is contained in:
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@@ -17,12 +17,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.22.11
|
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
|
- name: Build the executables
|
||||||
run: ./mkrel.sh anydb ${{ github.ref_name}}
|
run: ./mkrel.sh anydb ${{ github.ref_name}}
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -57,8 +57,8 @@ app/dbentry.pb.go: app/dbentry.proto
|
|||||||
buildlocal:
|
buildlocal:
|
||||||
go build -ldflags "-X 'github.com/tlinden/anydb/cfg.VERSION=$(VERSION)'"
|
go build -ldflags "-X 'github.com/tlinden/anydb/cfg.VERSION=$(VERSION)'"
|
||||||
|
|
||||||
|
# binaries are being built by ci workflow on tag creation
|
||||||
release:
|
release:
|
||||||
./mkrel.sh $(tool) $(version)
|
|
||||||
gh release create $(version) --generate-notes releases/*
|
gh release create $(version) --generate-notes releases/*
|
||||||
|
|
||||||
install: buildlocal
|
install: buildlocal
|
||||||
|
|||||||
Reference in New Issue
Block a user