★ wanayoo — archive 1999 https://github.com/hetznercloud/cli/pull/71Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set cli version on compile #71

Merged
merged 4 commits into from Jan 17, 2018
Merged

Set cli version on compile #71

merged 4 commits into from Jan 17, 2018

Conversation

@thetechnick
Copy link
Contributor

@thetechnick thetechnick commented Jan 17, 2018

Build release using:

./script/build.bash linux amd64 `./script/git-version.bash`
@thetechnick thetechnick requested a review from thcyron Jan 17, 2018
Nico Schieder
@thetechnick thetechnick force-pushed the set-version-on-compile branch from f95eb98 to 8a47ee8 Jan 17, 2018
Nico Schieder added 2 commits Jan 17, 2018
Nico Schieder
Copy link
Member

@thcyron thcyron left a comment

Indentation is inconsistent in script/git-version.bash.

version.go Outdated
@@ -6,7 +6,8 @@ import (
"github.com/spf13/cobra"
)

const Version = "1.0.0"
// Version is set via compiler flags (see script/build.bash)
var Version = "was not build properly"

This comment has been minimized.

@thcyron

thcyron Jan 17, 2018
Member

built

@thcyron thcyron merged commit a1b0a3a into master Jan 17, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@thcyron thcyron deleted the set-version-on-compile branch Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.