mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
46c005a5d3
Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
12 lines
299 B
Bash
Executable File
12 lines
299 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)/get-version-from-git.sh`
|
|
|
|
CI_PACKAGE=true DIST_VERSION=$DIST_VERSION scripts/package.sh
|