Skip to content

Commit

Permalink
update INSTALL on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 5, 2018
1 parent 0607f79 commit df76bfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions scripts/release.pl
Expand Up @@ -166,6 +166,11 @@ ($$)
unless( $dopoint ) {
run( "scripts/update-news.pl $newmajor $newminor '$newreleasename'", "could not update news" ) if $major>2 || ($major==2 && $minor>14);

run( "perl -i -pe 's/qgis-dev-deps/qgis-ltr-deps/;' doc/msvc.t2t" ) if $doltr;
run( "perl -i -pe 's/qgis-dev-deps/qgis-rel-deps/;' doc/msvc.t2t" ) unless $doltr;
run( "txt2tags --encoding=utf-8 -odoc/INSTALL.html -t html doc/INSTALL.t2t" );
run( "txt2tags --encoding=utf-8 -oINSTALL -t txt doc/INSTALL.t2t" );

run( "git commit -n -a -m \"changelog and news update for $release\"", "could not commit changelog and news update" );

print "Creating and checking out branch...\n";
Expand Down
4 changes: 2 additions & 2 deletions scripts/update-news.pl
Expand Up @@ -59,8 +59,8 @@

copy($tempfile, "doc/news.t2t");

system "txt2tags -odoc/news.html -t html doc/news.t2t";
system "txt2tags -oNEWS -t txt doc/news.t2t";
system "txt2tags --encoding=utf-8 -odoc/news.html -t html doc/news.t2t";
system "txt2tags --encoding=utf-8 -oNEWS -t txt doc/news.t2t";

=head1 NAME
Expand Down

0 comments on commit df76bfc

Please sign in to comment.