aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpublishrelease46
1 files changed, 0 insertions, 46 deletions
diff --git a/publishrelease b/publishrelease
index 1bad13fe..b5050eb1 100755
--- a/publishrelease
+++ b/publishrelease
@@ -170,49 +170,3 @@ confirm master
170git commit static/md/home.md -m "update front page for LuaRocks $v" 170git commit static/md/home.md -m "update front page for LuaRocks $v"
171git push 171git push
172 172
173#######################################
174# luarocks.wiki
175#######################################
176
177[ -e ../luarocks.wiki ] || {
178 cd ..
179 git clone ssh://git@github.com/luarocks/luarocks.wiki.git
180}
181
182if [ -e ../luarocks.wiki ]
183then
184 cd ../luarocks.wiki
185 git pull
186else
187 cd ..
188 git clone ssh://git@github.com/luarocks/luarocks.wiki.git
189 cd luarocks.wiki
190fi
191
192sed -i "s,Latest release: .*,Latest release: '''LuaRocks $v''' - '$(date +'%d/%b/%Y')'," Download.mediawiki
193
194sed -i "s,/luarocks-[0-9.]*[0-9],/luarocks-$v,g" Download.mediawiki
195
196gawk '
197BEGIN {
198 print "'\'\'\''Version '$v\'\'\'' - '$(date +'%d/%b/%Y')' - [http://luarocks.org/releases/luarocks-'$v'.tar.gz Source tarball for Unix] -"
199 print "[http://luarocks.org/releases/luarocks-'$v'-windows-32.zip Windows binary (32-bit)] -"
200 print "[http://luarocks.org/releases/luarocks-'$v'-windows-64.zip Windows binary (64-bit)] -"
201 print "[http://luarocks.org/releases/luarocks-'$v'-linux-x86_64.zip Linux binary (x86_64)] -"
202 print "[http://luarocks.github.io/luarocks/releases other files]"
203 print ""
204}
205// {
206 print
207}
208' "Release-history.mediawiki" > "Release-history.mediawiki.1"
209mv "Release-history.mediawiki.1" "Release-history.mediawiki"
210
211git add "Download.mediawiki"
212git add "Release-history.mediawiki"
213git add "Installation-instructions-for-Unix.md"
214
215confirm master
216
217git commit -av -m "Release $v"
218git push