mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-02 20:12:04 +01:00
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
12 lines
299 B
Bash
Executable File
12 lines
299 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Runs package.sh, passing DIST_VERSION determined by git
|
|
|
|
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
|