babashka/.circleci/script/release
2019-12-13 18:13:35 +01:00

18 lines
295 B
Bash
Executable file

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