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