This code repository contains Noderig packaging scripts.
For more details about Noderig see the main repository on github.
Package name | Release number | Resources |
---|---|---|
Git | >= 2.X.X | Git Documentation |
Make | >= 3.8X | Make Documentation |
Golang | >= 1.11 | Golang Documentation |
Glide | >= 0.10.X | Glide Documentation |
FPM | >= 0.10.X | FPM Documentation |
make help
make list-releases # get all available tags
make get-last-release # get the latest tag
If no RELEASE_NUMBER
is given to the build
target, the latest available tag on the Noderig repository is automatically used.
Usage:
make build VERSION="${RELEASE_NUMBER}"
make deb
Usage:
make build VERSION=${RELEASE_NUMBER}
make rpm
If you encounter the following error:
glide not found. Did you add $GOBIN to your $PATH?
Fail to install glide
Add the following declarations in your Bash profile:
export GOPATH="$HOME/go/"
export PATH=$HOME/go/bin:$PATH
If you encounter the following error:
/bin/sh: fpm: command not found
make: *** [deb] Error 127
Read this documentation and follow detailed instructions to install FPM
tool.
On MacOS X system like, you will maybe need to set GEM_HOME
and PATH
environment variables.