summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-04-01 12:04:41 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-01 12:04:41 +0200
commit25ac32f15b9077cddcb8225d4389f275b46fce4d (patch)
treeb394e231a7d39ec39d91e06c07e4eed00af4111e
parentc0611c2e66c1a8869a1494c5edd26cc3ef0d1ec7 (diff)
release.sh: build docs with ninja and update docs placementHEADmaster
The server migration has changed the doc locations on the server side slightly. Adapt this script to have it working again.
-rwxr-xr-xrelease.sh17
1 files changed, 8 insertions, 9 deletions
diff --git a/release.sh b/release.sh
index 00420d3..d64f298 100755
--- a/release.sh
+++ b/release.sh
@@ -40,7 +40,7 @@ do_compile()
40 meson build-efl-$VERSION 40 meson build-efl-$VERSION
41 ninja -C build-efl-$VERSION dist 41 ninja -C build-efl-$VERSION dist
42 42
43# make doc 43# ninja -C build-efl-$VERSION doc
44} 44}
45 45
46do_package_and_upload() 46do_package_and_upload()
@@ -95,15 +95,14 @@ do_finalize_release()
95 else 95 else
96 ssh download.enlightenment.org mv /srv/web/download.enlightenment.org/pre-releases/efl-$VERSION.tar.* /srv/web/download.enlightenment.org/rel/libs/efl/ 96 ssh download.enlightenment.org mv /srv/web/download.enlightenment.org/pre-releases/efl-$VERSION.tar.* /srv/web/download.enlightenment.org/rel/libs/efl/
97 97
98 scp efl-$VERSION-doc.tar.bz2 download.enlightenment.org:/srv/web/docs.enlightenment.org/public_html/efl/ 98# scp efl-$VERSION-doc.tar.bz2 download.enlightenment.org:/srv/web/docs.enlightenment.org/efl/
99 ssh download.enlightenment.org tar xf /srv/web/docs.enlightenment.org/public_html/efl/efl-$VERSION-doc.tar.bz2 -C /srv/web/docs.enlightenment.org/public_html/efl/ 99# ssh download.enlightenment.org tar xf /srv/web/docs.enlightenment.org/efl/efl-$VERSION-doc.tar.xz -C /srv/web/docs.enlightenment.org/efl/
100 ssh download.enlightenment.org rm -r /srv/web/docs.enlightenment.org/public_html/efl/$VERSION_SIMPLE 100# ssh download.enlightenment.org rm -r /srv/web/docs.enlightenment.org/efl/$VERSION_SIMPLE
101 ssh download.enlightenment.org mv /srv/web/docs.enlightenment.org/public_html/efl/efl-$VERSION-doc/doc/html /srv/web/docs.enlightenment.org/public_html/efl/$VERSION_SIMPLE 101# ssh download.enlightenment.org mv /srv/web/docs.enlightenment.org/efl/html /srv/web/docs.enlightenment.org/efl/$VERSION_SIMPLE
102 ssh download.enlightenment.org rm -r /srv/web/docs.enlightenment.org/public_html/efl/efl-$VERSION-doc 102# ssh download.enlightenment.org rm /srv/web/docs.enlightenment.org/efl/efl-$VERSION-doc.tar.xz
103 ssh download.enlightenment.org rm /srv/web/docs.enlightenment.org/public_html/efl/efl-$VERSION-doc.tar.bz2
104 103
105 ssh download.enlightenment.org rm /srv/web/docs.enlightenment.org/public_html/efl/current 104# ssh download.enlightenment.org rm /srv/web/docs.enlightenment.org/efl/current
106 ssh download.enlightenment.org ln -s /srv/web/docs.enlightenment.org/public_html/efl/$VERSION_SIMPLE /srv/web/docs.enlightenment.org/public_html/efl/current 105# ssh download.enlightenment.org ln -s /srv/web/docs.enlightenment.org/efl/$VERSION_SIMPLE /srv/web/docs.enlightenment.org/efl/current
107 fi 106 fi
108 107
109 cd .. 108 cd ..