Skip to content

Commit

Permalink
[skip ci] Update versioning file
Browse files Browse the repository at this point in the history
  • Loading branch information
wiliansilvazup committed Apr 22, 2021
1 parent b692ca5 commit 84c4500
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion horusec-cli/.semver.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alpha: 0
beta: 0
rc: 0
release: v1.10.1
release: v1.10.2
1 change: 1 addition & 0 deletions horusec-cli/deployments/all-version-cli.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ v1-8-4
v1-9-0
v1-10-0
v1-10-1
v1-10-2
20 changes: 10 additions & 10 deletions horusec-cli/deployments/scripts/update-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,41 +75,41 @@ generateBinaries () {
# Build for linux x86
if ! env CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -a -installsuffix cgo -o "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x86/horusec" ./horusec-cli/cmd/horusec/main.go;
then
echo "1/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x86/horusec"
else
echo "Error when generate Build for linux_x86"
else
echo "1/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x86/horusec"
fi

# Build for linux x64
if ! env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x64/horusec" ./horusec-cli/cmd/horusec/main.go;
then
echo "2/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x64/horusec"
else
echo "Error when generate Build for linux_x64"
else
echo "2/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x64/horusec"
fi

# Build for Windows x86
if ! env GOOS=windows GOARCH=386 go build -o "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x86/horusec.exe" ./horusec-cli/cmd/horusec/main.go;
then
echo "3/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x86/horusec.exe"
else
echo "Error when generate Build for win_x86"
else
echo "3/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x86/horusec.exe"
fi

# Build for Windows x64
if ! env GOOS=windows GOARCH=amd64 go build -o "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x64/horusec.exe" ./horusec-cli/cmd/horusec/main.go;
then
echo "4/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x64/horusec.exe"
else
echo "Error when generate Build for win_x64"
else
echo "4/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/win_x64/horusec.exe"
fi

# Build for Mac x64
if ! env GOOS=darwin GOARCH=amd64 go build -o "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/mac_x64/horusec" ./horusec-cli/cmd/horusec/main.go;
then
echo "5/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/mac_x64/horusec"
else
echo "Error when generate Build for mac_x64"
else
echo "5/5 Binary generated with success in ./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/mac_x64/horusec"
fi

chmod +x "./horusec-cli/bin/horusec/$ACTUAL_RELEASE_FORMATTED/linux_x64/horusec"
Expand Down
2 changes: 1 addition & 1 deletion horusec-cli/deployments/version-cli-latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1-10-1
v1-10-2

0 comments on commit 84c4500

Please sign in to comment.