Prep for 2.1.0alpha2 release

This commit is contained in:
Søren L. Hansen 2021-04-10 23:51:24 -07:00
parent f8e4e6e37f
commit 77c436b99b
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
OUTPUT_DIR = ./builds OUTPUT_DIR = ./builds
GIT_COMMIT = `git rev-parse HEAD | cut -c1-7` GIT_COMMIT = `git rev-parse HEAD | cut -c1-7`
VERSION = 2.0.0-alpha.3 VERSION = 2.1.0alpha2
BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMMIT)" BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMMIT)"
gotty: main.go server/*.go webtty/*.go backend/*.go Makefile gotty: main.go server/*.go webtty/*.go backend/*.go Makefile
@ -85,7 +85,10 @@ targz:
shasums: shasums:
cd ${OUTPUT_DIR}/dist; sha256sum * > ./SHA256SUMS cd ${OUTPUT_DIR}/dist; sha256sum * > ./SHA256SUMS
release-artifacts: asset gotty cross_compile targz shasums
release: release:
ghr -c ${GIT_COMMIT} --delete --prerelease -u sorenisanerd -r gotty pre-release ${OUTPUT_DIR}/dist ghr -draft -prerelease ${VERSION} ${OUTPUT_DIR}/dist # -c ${GIT_COMMIT} --delete --prerelease -u sorenisanerd -r gotty ${VERSION}
clean: clean:
rm -fr gotty rm -fr gotty builds