element-web/scripts/ci_package.sh

12 lines
299 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# Runs package.sh, passing DIST_VERSION determined by git
2019-04-26 13:22:32 +02:00
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