Skip to content

Commit 4f12dd8

Browse files
author
aeris
committed
Fix release scripts
1 parent 53121fb commit 4f12dd8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ usage() {
6060
# SHA256 checksum of the binary is also generated in a file named
6161
# "cozy-stack-${VERSION_STRING}.sha256".
6262
do_release() {
63-
do_assets
63+
#do_assets
6464
do_build
6565

6666
openssl dgst -sha256 -hex "${BINARY}" > "${BINARY}.sha256"

scripts/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ set -xe
33

44
RELEASE="$(git describe --tags)"
55

6-
go get -u -v ./...
6+
go get -u -v ./... || true # Always fail if you are in a tag…
77

88
docker build -t "cozy/cozy-app-dev:${RELEASE}" -f scripts/Dockerfile .
99
docker push "cozy/cozy-app-dev:${RELEASE}"
10-
docker tag "cozy/cozy-app-dev:${RELEASE}" cozy/cozy-app-dev
11-
docker push cozy/cozy-app-dev
10+
docker tag "cozy/cozy-app-dev:${RELEASE}" "cozy/cozy-app-dev:latest"
11+
docker push "cozy/cozy-app-dev:latest"
1212

1313
GOOS=linux GOARCH=amd64 ./scripts/build.sh release
1414
GOOS=linux GOARCH=arm ./scripts/build.sh release

0 commit comments

Comments
 (0)