Created
April 1, 2019 10:12
-
-
Save henvic/b486476d235ded339a5a86108c36d414 to your computer and use it in GitHub Desktop.
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
function publish() { | |
equinox release \ | |
--version=$NEW_RELEASE_VERSION \ | |
--channel=$RELEASE_CHANNEL \ | |
--config=$config \ | |
-- \ | |
-ldflags="-X 'github.com/wedeploy/cli/defaults.Version=$NEW_RELEASE_VERSION' \ | |
-X 'github.com/wedeploy/cli/defaults.Build=$BUILD_COMMIT' \ | |
-X 'github.com/wedeploy/cli/defaults.BuildTime=$BUILD_TIME'" \ | |
-gcflags=-trimpath=$GOPATH \ | |
-asmflags=-trimpath=$GOPATH \ | |
github.com/wedeploy/cli | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment