mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Modernize release script:
- making sure the DRY_RUN mode can finish e2e, so e.g. commits to local copy of repository are OK in dry-run (while git pushes are NOT). - better interaction with ./test_lib.sh script. - more consistent logging - bringing back s390x architecture that on go 1.14.3 seems to work as expected.
This commit is contained in:
@@ -24,8 +24,7 @@ pushd "${ETCD_ROOT}" >/dev/null
|
||||
log_callout "Building etcd binary..."
|
||||
./scripts/build-binary "${VERSION}"
|
||||
|
||||
# TODO: Add "s390x" when https://github.com/etcd-io/etcd/issues/12496 is fixed.
|
||||
for TARGET_ARCH in "amd64" "arm64" "ppc64le"; do
|
||||
for TARGET_ARCH in "amd64" "arm64" "ppc64le" "s390x"; do
|
||||
log_callout "Building ${TARGET_ARCH} docker image..."
|
||||
GOOS=linux GOARCH=${TARGET_ARCH} BINARYDIR=release/etcd-${VERSION}-linux-${TARGET_ARCH} BUILDDIR=release ./scripts/build-docker "${VERSION}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user