Skip to content

Instantly share code, notes, and snippets.

@henvic
Created April 1, 2019 10:12
Show Gist options
  • Save henvic/b486476d235ded339a5a86108c36d414 to your computer and use it in GitHub Desktop.
Save henvic/b486476d235ded339a5a86108c36d414 to your computer and use it in GitHub Desktop.
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