babashka/.circleci/script/release
2019-08-09 15:43:27 +02:00

16 lines
251 B
Bash
Executable file

#!/usr/bin/env bash
rm -rf /tmp/release
mkdir -p /tmp/release
cp bb /tmp/release
VERSION=$(cat resources/BABASHKA_VERSION)
cd /tmp/release
## release binary as zip archive
zip "babashka-$VERSION-$BABASHKA_PLATFORM-amd64.zip" bb
## cleanup
rm bb