Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
* update appdata on release
* remove unused splash & banner templates
(cherry picked from commit 9eb8e79)
- Loading branch information
|
@@ -17,7 +17,7 @@ |
|
|
|
|
|
<project_group>QGIS</project_group> |
|
|
<releases> |
|
|
<release version="3.0" /> |
|
|
<release version="3.2.0" date="2018-06-22" /> |
|
|
</releases> |
|
|
<launchable type="desktop-id">qgis.desktop</launchable> |
|
|
<provides> |
|
|
|
@@ -12,6 +12,7 @@ |
|
|
use warnings; |
|
|
use Getopt::Long; |
|
|
use Pod::Usage; |
|
|
use POSIX; |
|
|
|
|
|
my $dryrun; |
|
|
|
|
@@ -162,6 +163,7 @@ ($$) |
|
|
|
|
|
print "Updating changelog...\n"; |
|
|
run( "scripts/create_changelog.sh", "create_changelog.sh failed" ); |
|
|
run( "perl -i -pe 's#<releases>#<releases>\n <release version=\"$newmajor.$newminor.$newpatch\" date=\"" . strftime("%Y-%m-%d", localtime) . "\" />#' linux/org.qgis.qgis.appdata.xml", "appdata update failed" ); |
|
|
|
|
|
unless( $dopoint ) { |
|
|
run( "scripts/update-news.pl $newmajor $newminor '$newreleasename'", "could not update news" ) if $major>2 || ($major==2 && $minor>14); |
|
@@ -187,13 +189,6 @@ ($$) |
|
|
unless( $dopoint ) { |
|
|
run( "cp -v images/splash/splash-$newmajor.$newminor.png images/splash/splash.png", "splash png switch failed" ); |
|
|
run( "convert -resize 164x314 ms-windows/Installer-Files/WelcomeFinishPage-$newmajor.$newminor.png BMP3:ms-windows/Installer-Files/WelcomeFinishPage.bmp", "installer bitmap switch failed" ); |
|
|
|
|
|
if( -f "images/splash/splash-release.xcf.bz2" ) { |
|
|
run( "cp -v images/splash/splash-$newmajor.$newminor.xcf.bz2 images/splash/splash.xcf.bz2", "splash xcf switch failed" ); |
|
|
} else { |
|
|
print "WARNING: NO images/splash/splash-release.xcf.bz2\n"; |
|
|
} |
|
|
|
|
|
run( "git commit -n -a -m 'Release of $release ($newreleasename)'", "release commit failed" ); |
|
|
run( "git tag $reltag -m 'Version $release'", "release tag failed" ); |
|
|
} else { |
|
|