2022-11-09 22:58:06 +08:00
|
|
|
#!/usr/bin/env bash
|
2016-02-25 23:31:04 +08:00
|
|
|
|
2021-12-07 12:11:01 +08:00
|
|
|
# Runs package.sh, passing DIST_VERSION determined by git
|
2016-02-25 23:31:04 +08:00
|
|
|
|
2019-04-26 19:22:32 +08:00
|
|
|
set -ex
|
2016-02-25 23:31:04 +08:00
|
|
|
|
2020-11-24 22:05:44 +08:00
|
|
|
rm dist/element-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
2016-02-25 23:31:04 +08:00
|
|
|
|
2021-12-07 12:11:01 +08:00
|
|
|
DIST_VERSION=`$(dirname $0)/get-version-from-git.sh`
|
2016-03-11 22:30:53 +08:00
|
|
|
|
2021-12-07 12:11:01 +08:00
|
|
|
CI_PACKAGE=true DIST_VERSION=$DIST_VERSION scripts/package.sh
|