Skip to content
Snippets Groups Projects
Commit 80a71d84 authored by Brian Waldon's avatar Brian Waldon
Browse files

release: script the building of release artifacts

parent c3dd9984
No related branches found
No related tags found
No related merge requests found
release 0 → 100755
#!/bin/bash -e
VERSION=$(./git-version)
GOARCH=amd64
OSS=( "darwin" "linux" )
for GOOS in ${OSS[@]}; do
name=dex-$VERSION-$GOOS-$GOARCH
rm -fr $name.tar.gz $name/
mkdir $name
GOOS=$GOOS GOARCH=$GOARCH ./build
cp bin/dexctl $name/
tar -czf $name.tar.gz $name/
echo "Created ${name}.tar.gz"
rm -fr $name/
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment