mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #1601 from Human-Connection/github_release_without_uploads
Relase without any artifacts
This commit is contained in:
commit
5466cf69b2
@ -4,7 +4,7 @@ RELEASE_DIR="${ROOT_DIR}/release"
|
||||
|
||||
VERSION=$(<$ROOT_DIR/VERSION)
|
||||
|
||||
mkdir -p $RELEASE_DIR
|
||||
# mkdir -p $RELEASE_DIR
|
||||
|
||||
# The following command part produces 854M on my machine
|
||||
# apps=(nitro-web nitro-backend neo4j maintenance-worker maintenance)
|
||||
@ -13,10 +13,4 @@ mkdir -p $RELEASE_DIR
|
||||
# docker image save "humanconnection/${app}:latest" | gzip > "${RELEASE_DIR}/${app}.${VERSION}.tar.gz"
|
||||
# done
|
||||
|
||||
# Use something smaller instead
|
||||
git archive --format tar HEAD:backend | gzip > "${RELEASE_DIR}/backend.${VERSION}.tar.gz"
|
||||
git archive --format tar HEAD:webapp | gzip > "${RELEASE_DIR}/webapp.${VERSION}.tar.gz"
|
||||
git archive --format zip HEAD:backend > "${RELEASE_DIR}/backend.${VERSION}.zip"
|
||||
git archive --format zip HEAD:webapp > "${RELEASE_DIR}/webapp.${VERSION}.zip"
|
||||
|
||||
ghr -soft "${VERSION}" "${RELEASE_DIR}"
|
||||
ghr -soft "${VERSION}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user