The earlier script-permission fix (5e3254d) only covered scripts
invoked by apps/web's own Dockerfile/CI at the time. Found 9 more
non-executable scripts (644 instead of 755) while building the
Electron desktop app via apps/desktop/dockerbuild - same root cause,
different invocation paths.
12 lines
316 B
Bash
Executable File
12 lines
316 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Runs package.sh, passing DIST_VERSION determined by git
|
|
|
|
set -ex
|
|
|
|
rm dist/element-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
|
|
|
DIST_VERSION=`$(dirname $0)/../../../scripts/get-version-from-git.sh`
|
|
|
|
CI_PACKAGE=true DIST_VERSION=$DIST_VERSION scripts/package.sh
|