Skip to content

Commit

Permalink
Added release script
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinvaneyk committed Sep 29, 2017
1 parent 55f8597 commit a288be1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions hack/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

#
# release.sh - Generate all artifacts for a release
#

# wfcli
echo "Building wfcli..."
GOOS=darwin GOARCH=386 CGO_ENABLED=0 go build -o wfcli-osx github.com/fission/fission-workflows/cmd/wfcli/
GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -o wfcli-windows.exe github.com/fission/fission-workflows/cmd/wfcli/
GOOS=linux GOARCH=386 CGO_ENABLED=0 go build -o wfcli-linux github.com/fission/fission-workflows/cmd/wfcli/

# Deployments
echo "Packaging chart..."
helm package ${GOPATH}/src/github.com/fission/fission-workflows/charts/fission-workflows

echo "Done!"

0 comments on commit a288be1

Please sign in to comment.