mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
stage 0.5 rebrand (rename dist release)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0e0918d07c
commit
f248477f82
@ -34,7 +34,7 @@ npm run test
|
||||
# run eslint
|
||||
npm run lintall -- -f checkstyle -o eslint.xml || true
|
||||
|
||||
rm dist/vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
||||
rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
||||
|
||||
# node_modules deps from 'npm install' don't have a .git dir so can't
|
||||
# rev-parse; but they do set the commit in package.json under 'gitHead' which
|
||||
|
@ -25,13 +25,13 @@ cp -r webapp vector-$version
|
||||
|
||||
# if $version looks like semver with leading v, strip it before writing to file
|
||||
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
|
||||
echo ${version:1} > vector-$version/version
|
||||
echo ${version:1} > riot-$version/version
|
||||
else
|
||||
echo ${version} > vector-$version/version
|
||||
echo ${version} > riot-$version/version
|
||||
fi
|
||||
|
||||
tar chvzf dist/vector-$version.tar.gz vector-$version
|
||||
rm -r vector-$version
|
||||
tar chvzf dist/riot-$version.tar.gz riot-$version
|
||||
rm -r riot-$version
|
||||
|
||||
echo
|
||||
echo "Packaged dist/vector-$version.tar.gz"
|
||||
echo "Packaged dist/riot-$version.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user