mirror of https://github.com/knative/client.git
* chore(version): Add buildtime and git revision to version command For that, also updated `hack/build.sh` and `hack/build-binaries.sh` to set the values from the outside. The file `hack/NEXT_VERSION` contains the version number of the next release. A regular build will create version numbers in the format "0.1.0-20190417" which according to semver.org is a version less than 0.1.0 (i.e. a pre-release). A release script should pick up NEXT_VERSION, make the release with the number found there and then update to the next release, possibly a minor a release. * chore(build.sh): Minor cosmetic fixes * Aligned variable name * Streamlined console output of build scripts * Use "2019-04-18 07:40:10" as format for build time as it used as information only * chore(build.sh): Add GO111MODULE=on So that the script can be used also when running from within GOPATH * chore(build.sh): Changed shasum --> sha256sum ... as shasum is not part of coreutils, and sha256sum should be more generally available. Made the shasum output optional, too. * chore(build.sh): Changed from BuildTime to BuildDate ... as this better reflects the value, the date when the client was built. * chore(build.sh): Typo fix |
||
|---|---|---|
| .. | ||
| flags.sh | ||