Skip to content

Commit

Permalink
Update cocli_build.sh (#11)
Browse files Browse the repository at this point in the history
* Update cocli_build.sh

* WIP
  • Loading branch information
zach-withcoherence authored Jun 6, 2024
1 parent 95a7e33 commit 794dbe2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cocli_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ do
output_name+='.exe'
fi

env GOOS=$GOOS GOARCH=$GOARCH go build -o $output_name main.go
env CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o $output_name -a -ldflags '-extldflags "-static"' main.go
if [ $? -ne 0 ]; then
echo 'An error has occurred! Aborting the script execution...'
exit 1
Expand Down
2 changes: 1 addition & 1 deletion cocli_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
2 changes: 1 addition & 1 deletion pkg/cocli/cocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var prodConfig = &CocliConfig{
CoherenceDomain: "https://beta.withcoherence.com",
}

const cliVersion = "1.0.0"
const cliVersion = "1.0.1"

func GetCliConfig() CocliConfig {
if strings.ToLower(os.Getenv("COHERENCE_ENVIRONMENT")) == "review" {
Expand Down

0 comments on commit 794dbe2

Please sign in to comment.