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