mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03: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.
11 lines
299 B
Bash
Executable file
11 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
|