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