From 3e12f3df50e4f6f0035f13b255d380fbf207a7c1 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 6 Jun 2019 17:05:57 -0300 Subject: publishrelease: fix pull, update Unix instructions --- publishrelease | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/publishrelease b/publishrelease index b464a852..fd67d8c8 100755 --- a/publishrelease +++ b/publishrelease @@ -141,13 +141,13 @@ git checkout master if [ -e ../luarocks-site ] then cd ../luarocks-site + git pull else cd .. git clone https://github.com/luarocks/luarocks-site cd luarocks-site fi -git pull sed -i 's,luarocks-[0-9]*\.[0-9]*\.[0-9]*,luarocks-'$v',' static/md/home.md git add static/md/home.md @@ -168,6 +168,7 @@ git push if [ -e ../luarocks.wiki ] then cd ../luarocks.wiki + git pull else cd .. git clone https://github.com/luarocks/luarocks.wiki.git @@ -176,6 +177,8 @@ fi sed -i "s,The current stable release is [^:]*:,The current stable release is '''$v''':," Download.mediawiki +sed -i "s,luarocks-[0-9.]*[0-9],luarocks-$v," Installation-instructions-for-Unix.md + gawk ' BEGIN { print "'\'\'\''Version '$v\'\'\'' - '$(date +'%d/%b/%Y')' - [http://luarocks.org/releases/luarocks-'$v'.tar.gz All Unix] -" @@ -190,6 +193,7 @@ mv "Release-history.mediawiki.1" "Release-history.mediawiki" git add "Download.mediawiki" git add "Release-history.mediawiki" +git add "Installation-instructions-for-Unix.md" confirm master -- cgit v1.2.3-55-g6feb