- build speed improved (-j4)

- fix uploading
- version 0.9.2 is on the server
This commit is contained in:
dmytro.bogovych 2020-03-29 08:42:30 +03:00
parent 7ffdbcfee9
commit 6af105fe21
6 changed files with 26 additions and 35 deletions

View File

@ -1,2 +1,2 @@
// Auto generated file ! Please do not edit !
#define APP_BUILD_NUMBER 53
#define APP_BUILD_NUMBER 54

View File

@ -44,7 +44,7 @@ if [ "$MAKE_BUILD" = "YES" ]; then
exit
fi
cmake --build .
cmake --build . -j4
if [ $? -ne 0 ]; then
echo "cmake build failed. Exiting."
exit
@ -78,34 +78,31 @@ if [ "$MAKE_BUILD" = "YES" ]; then
DMGBUILD=Litt-osx-$version.dmg
fi
exit
cd ../client
if [ "$PREPARE_PUBLISH" = "YES" ]; then
# Updating release notes file & application cast file
../redist/updater.py -v $version -d ../$DMGBUILD -r ../site/releasenotes.html -c ../redist/changes.html -a ../site/LittAppCast.xml
redist/updater.py -v $version -d $DMGBUILD -r site/releasenotes.html -c redist/changes.html -a site/LittAppCast.xml
# Format cast file
xmllint -format ../site/LittAppCast.xml > ../site/LittAppCast2.xml
rm -rf ../site/LittAppCast.xml
mv ../site/LittAppCast2.xml ../site/LittAppCast.xml
xmllint -format site/LittAppCast.xml > site/LittAppCast2.xml
rm -rf site/LittAppCast.xml
mv site/LittAppCast2.xml site/LittAppCast.xml
# Prepare index.html
# sed -i "s/Litt-osx.*\\.zip/$ZIPBUILD/g" ../site/index.html
# .bak modifier will produce backup file for index.html; it is neccessary for OS X
sed -i.bak "s/Litt-osx.*\\.dmg/$DMGBUILD/g" ../site/index.html
sed -i.bak "s/Litt-osx.*\\.dmg/$DMGBUILD/g" site/index.html
fi
UPLOAD_ROLE=root@voipobjects.com
if [ "$PUBLISH_BUILD" = "YES" ]; then
# Copy to server
echo Copying files...
scp ../$DMGBUILD $UPLOAD_ROLE:/var/www/satorilight.com/public_html/downloads
# scp ../$ZIPBUILD uploader@voipobjects.com:/var/www/satorilight.com/public_html/downloads
scp ../site/releasenotes.html $UPLOAD_ROLE:/var/www/satorilight.com/public_html
scp ../site/LittAppCast.xml $UPLOAD_ROLE:/var/www/satorilight.com/public_html
scp ../site/index.html $UPLOAD_ROLE:/var/www/satorilight.com/public_html
scp $DMGBUILD $UPLOAD_ROLE:/var/www/satorilight.com/public_html/downloads
scp $ZIPBUILD $UPLOAD_ROLE:/var/www/satorilight.com/public_html/downloads
scp site/releasenotes.html $UPLOAD_ROLE:/var/www/satorilight.com/public_html
scp site/LittAppCast.xml $UPLOAD_ROLE:/var/www/satorilight.com/public_html
scp site/index.html $UPLOAD_ROLE:/var/www/satorilight.com/public_html
echo Modify symbol links...
# ssh uploader@voipobjects.com ln -s /var/www/satorilight.com/public_html/downloads/$ZIPBUILD /var/www/satorilight.com/public_html/downloads/litt-osx.zip

View File

@ -1,6 +1,3 @@
<p><b>Changes in version 0.9.1</b></p>
<p> - rebuild with Qt 5.12 - native support Mojave dark mode</p>
<p><b>Changes in version 0.8.16<b></p>
<p> - one more fixed bug in time interval removing.</p>
<p><b>Changes in version 0.9.2</b></p>
<p> - limited markdown support</p>
<p> - keychain support</p>

View File

@ -8,11 +8,11 @@
<atom:link href="http://satorilight.com/LittAppCast.xml" rel="self" type="application/rss+xml"/>
<item>
<title>Version 0.9.2</title>
<pubDate>Sun, 12 May 2019 17:19:50 +0000</pubDate>
<pubDate>Sun, 29 Mar 2020 05:33:44 +0000</pubDate>
<guid isPermalink="true">http://satorilight.com/releasenotes.html</guid>
<link>http://satorilight.com/releasenotes.html</link>
<sparkle:releaseNotesLink>http://satorilight.com/releasenotes.html</sparkle:releaseNotesLink>
<enclosure url="http://satorilight.com/downloads/Litt-osx-0.9.2.dmg" type="application/octet-stream" length="148703" fervor:platform="Q_OS_MAC" sparkle:version="0.9.2" sparkle:dsaSignature="0000000000"/>
<enclosure url="http://satorilight.com/downloads/Litt-osx-0.9.2.dmg" type="application/octet-stream" length="13311780" fervor:platform="Q_OS_MAC" sparkle:version="0.9.2" sparkle:dsaSignature="0000000000"/>
</item>
<item>
<title>Version 0.9.1</title>

View File

@ -83,7 +83,7 @@
</div>
<footer class="footer clearfix">
<div class="copyright">(C) com.satorilight 2012 - 2018</div>
<div class="copyright">(C) com.satorilight 2012 - 2020</div>
</footer>
</div>

View File

@ -18,12 +18,9 @@
<body>
<!-- begin version=0.9.2 -->
<p><b>Changes in version 0.9.1</b></p>
<p> - rebuild with Qt 5.12 - native support Mojave dark mode</p>
<p><b>Changes in version 0.8.16<b></p>
<p> - one more fixed bug in time interval removing.</p>
<p><b>Changes in version 0.9.2</b></p>
<p> - limited markdown support</p>
<p> - keychain support</p>
<!-- end version=0.9.2 -->