mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Remove redundant line getting version
As there is no latest.yml now
This commit is contained in:
parent
b6aa7f430c
commit
189c8aca79
1 changed files with 1 additions and 6 deletions
|
@ -91,11 +91,6 @@ pubdir="$projdir/electron/pub"
|
||||||
rm -r "$pubdir" || true
|
rm -r "$pubdir" || true
|
||||||
mkdir -p "$pubdir"
|
mkdir -p "$pubdir"
|
||||||
|
|
||||||
# figure out what version this build is known as
|
|
||||||
# (since we could be building from a branch or indeed
|
|
||||||
# any commit-ish, not just a version tag)
|
|
||||||
vername=`python -c 'import yaml; import sys; print yaml.load(sys.stdin)["version"]' < $builddir/electron/dist/latest.yml`
|
|
||||||
|
|
||||||
# Install packages: what the user downloads the first time,
|
# Install packages: what the user downloads the first time,
|
||||||
# (DMGs for mac, exe installer for windows)
|
# (DMGs for mac, exe installer for windows)
|
||||||
mkdir -p "$pubdir/install/macos"
|
mkdir -p "$pubdir/install/macos"
|
||||||
|
@ -127,5 +122,5 @@ cp $distdir/*.deb "$projdir/electron/dist/"
|
||||||
|
|
||||||
rm -rf "$builddir"
|
rm -rf "$builddir"
|
||||||
|
|
||||||
echo "Riot Desktop $vername is ready to go in $pubdir: this directory can be hosted on your web server."
|
echo "Riot Desktop is ready to go in $pubdir: this directory can be hosted on your web server."
|
||||||
echo "deb archives are in electron/dist/ - these should be added into your debian repository"
|
echo "deb archives are in electron/dist/ - these should be added into your debian repository"
|
||||||
|
|
Loading…
Reference in a new issue