1
0
Fork 0
mirror of https://github.com/element-hq/element-web.git synced 2024-12-22 16:24:30 +03:00
element-web/scripts/ci_package.sh

12 lines
299 B
Bash
Raw Normal View History

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