element-web-Github/scripts/ci_package.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 19:22:32 +08: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