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
#!/bin/bash | |
# Version 0.21.0 8:26 PST, Nov 9, 2018 | |
# inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10 | |
# if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file | |
# . ~/githubapitoken | |
#GITHUB_USER="" | |
#GITHUB_TOKEN="" | |
if [ "$GITHUB_TOKEN" != "" ]; then | |
echo using access token with script |
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
#!/bin/bash | |
# Version 0.21.0 8:26 PST, Nov 9, 2018 | |
# inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10 | |
# if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file | |
# . ~/githubapitoken | |
#GITHUB_USER="" | |
#GITHUB_TOKEN="" | |
if [ "$GITHUB_TOKEN" != "" ]; then | |
echo using access token with script |