Ocelot-Social/scripts/github_release.sh
roschaefer f5b7130542 Relase without any artifacts
I contributed to `ghr` here:
https://github.com/tcnksm/ghr/pull/118

Now after `ghr` does not need any artifacts to create a file, we can
stop uploading archives. (Use the default archives provided by Github)
2019-09-16 21:17:23 +02:00

17 lines
433 B
Bash
Executable File

#!/usr/bin/env bash
ROOT_DIR=$(dirname "$0")/..
RELEASE_DIR="${ROOT_DIR}/release"
VERSION=$(<$ROOT_DIR/VERSION)
# mkdir -p $RELEASE_DIR
# The following command part produces 854M on my machine
# apps=(nitro-web nitro-backend neo4j maintenance-worker maintenance)
# for app in "${apps[@]}"
# do
# docker image save "humanconnection/${app}:latest" | gzip > "${RELEASE_DIR}/${app}.${VERSION}.tar.gz"
# done
ghr -soft "${VERSION}"