This repository has been archived by the owner on Aug 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* can't use goreleaser with darwin builds so we have to manual build them ourselves
- Loading branch information
Showing
4 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
xgo --targets="darwin/386,darwin/amd64" $PWD | ||
mv gotop-darwin-10.6-386 dist/darwin_386/gotop | ||
mv gotop-darwin-10.6-amd64 dist/darwin_amd64/gotop | ||
version=$(go run main.go -v) | ||
|
||
xgo --targets="darwin/386,darwin/amd64" . | ||
tar czf gotop_$version_darwin_386.tgz gotop-darwin-10.6-386 | ||
tar czf gotop_$version_darwin_amd64.tgz gotop-darwin-10.6-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
need to have goreleaser, xgo, and dockerd installed | ||
|
||
make sure gotop builds and runs | ||
update version number in main.go | ||
add, commit, and push change | ||
tag commit with version number | ||
export GitHub token in shell | ||
make sure dockerd is running | ||
run `goreleaser --rm-dist -f build/.goreleaser.yml` | ||
update GitHub release with Darwin builds | ||
update homebrew-gotop | ||
update AUR package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters