Skip to content

Commit

Permalink
Release v1.1.0
Browse files Browse the repository at this point in the history
Calling the release v2 made it very awkward to install. Oh, well.
  • Loading branch information
sorenisanerd committed Apr 19, 2021
1 parent 1177477 commit 3dd0f92
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OUTPUT_DIR = ./builds
GIT_COMMIT = `git rev-parse HEAD | cut -c1-7`
VERSION = 2.1.0
VERSION = 1.1.0
BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMMIT)"

gotty: main.go server/*.go webtty/*.go backend/*.go Makefile asset
Expand Down Expand Up @@ -92,7 +92,7 @@ shasums:
release-artifacts: asset gotty cross_compile targz shasums

release:
ghr -draft -prerelease ${VERSION} ${OUTPUT_DIR}/dist # -c ${GIT_COMMIT} --delete --prerelease -u sorenisanerd -r gotty ${VERSION}
ghr -draft ${VERSION} ${OUTPUT_DIR}/dist # -c ${GIT_COMMIT} --delete --prerelease -u sorenisanerd -r gotty ${VERSION}

clean:
rm -fr gotty builds bindata server/asset.go js/dist
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# GoTTY releases

## v2.1.0 (unreleased)
## v1.1.0

* Today I learned about Go's handling of versions, so re-releasing 2.1.0 as 1.1.0.

## v2.1.0

* Use Go modules and update cli module import path (Thanks, @svanellewee
* Fix typos (Thanks, @0xflotus, @RealCyGuy, @ygit, @Jason-Cooke and @fredster33!)
Expand Down
5 changes: 5 additions & 0 deletions release-checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* Check that the build works, duh.
* Check that cross-compilation works.
* Ensure NEWS is up-to-date
* Ensure contributor list is up-to-date
* Ensure VERSION is set correctly in Makefile
Loading

0 comments on commit 3dd0f92

Please sign in to comment.