Created
October 21, 2017 20:56
-
-
Save aspann/7c78839d994a4e12b7891986e2b527ac to your computer and use it in GitHub Desktop.
helper - upgrade_gogs.sh
This file contains hidden or 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
| #!/bin/bash | |
| echo -e "upgrading gogs.." | |
| go get -u github.com/gogits/gogs | |
| `cd gogs; go build` | |
| echo -e "please run the following commands as root: \n" | |
| echo -e "$ systemctl restart gogs" | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment