From 38e890d4159a9c2e0ffa804bc45453225e7d4906 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 28 Aug 2019 17:13:42 -0300 Subject: publishrelease: update wiki changes --- publishrelease | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/publishrelease b/publishrelease index fd67d8c8..28214aa0 100755 --- a/publishrelease +++ b/publishrelease @@ -175,14 +175,15 @@ else cd luarocks.wiki fi -sed -i "s,The current stable release is [^:]*:,The current stable release is '''$v''':," Download.mediawiki +sed -i "s,Latest release: .*,Latest release: '''LuaRocks $v''' - '$(date +'%d/%b/%Y')'," Download.mediawiki -sed -i "s,luarocks-[0-9.]*[0-9],luarocks-$v," Installation-instructions-for-Unix.md +sed -i "s,luarocks-[0-9.]*[0-9],luarocks-$v,g" Download.mediawiki gawk ' BEGIN { print "'\'\'\''Version '$v\'\'\'' - '$(date +'%d/%b/%Y')' - [http://luarocks.org/releases/luarocks-'$v'.tar.gz All Unix] -" - print "[http://luarocks.org/releases/luarocks-'$v'-windows-32.zip Windows all-in-one executable]" + print "[http://luarocks.org/releases/luarocks-'$v'-windows-32.zip Windows all-in-one executable] -" + print "[http://luarocks.github.io/luarocks/releases other files]" print "" } // { -- cgit v1.2.3-55-g6feb