mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 16:12:25 -05:00
Goreleaser (#241)
* add goreleaser tooling * add files + hook * update hooks * allow passing build-dir using cli args * build tweaks * tweak more * update drone and goreleaser * chill out tests * remove postgres * docker push on snapshot * update releaser
This commit is contained in:
parent
142f37f1bd
commit
d515c9f1ec
14 changed files with 253 additions and 136 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
set -eu
|
||||
|
||||
COMMIT=$(git rev-list -1 HEAD)
|
||||
VERSION=$(cat ./version)
|
||||
COMMIT="${COMMIT:-12345678}"
|
||||
VERSION="${VERSION:-0.0.0}"
|
||||
|
||||
CGO_ENABLED=0 go build -trimpath \
|
||||
-tags 'netgo osusergo static_build' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue