Merge pull request #2971 from Human-Connection/2970-remove-github-release-script

fix: Remove github release script breaking build
This commit is contained in:
mattwr18 2020-02-03 19:54:41 +01:00 committed by GitHub
commit bc7c3f27b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 20 deletions

View File

@ -69,7 +69,3 @@ deploy:
script: bash scripts/deploy.sh
on:
branch: master
- provider: script
script: bash scripts/github_release.sh
on:
branch: master

View File

@ -1,16 +0,0 @@
#!/usr/bin/env bash
ROOT_DIR=$(dirname "$0")/..
RELEASE_DIR="${ROOT_DIR}/release"
VERSION=$(jq -r ".version" $ROOT_DIR/package.json)
# 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 -c "${VERSION}" "${VERSION}"