summaryrefslogtreecommitdiff
path: root/publishrelease
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-06-06 17:05:57 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-06-06 17:06:15 -0300
commit3e12f3df50e4f6f0035f13b255d380fbf207a7c1 (patch)
tree46a1d1c9d95f42ebdde6d3b996016bc995b5e1cf /publishrelease
parent7a6961500e815a51077c85064d7251eb3f706bfa (diff)
downloadluarocks-3e12f3df50e4f6f0035f13b255d380fbf207a7c1.tar.gz
luarocks-3e12f3df50e4f6f0035f13b255d380fbf207a7c1.tar.bz2
luarocks-3e12f3df50e4f6f0035f13b255d380fbf207a7c1.zip
publishrelease: fix pull, update Unix instructions
Diffstat (limited to 'publishrelease')
-rwxr-xr-xpublishrelease6
1 files changed, 5 insertions, 1 deletions
diff --git a/publishrelease b/publishrelease
index b464a852..fd67d8c8 100755
--- a/publishrelease
+++ b/publishrelease
@@ -141,13 +141,13 @@ git checkout master
141if [ -e ../luarocks-site ] 141if [ -e ../luarocks-site ]
142then 142then
143 cd ../luarocks-site 143 cd ../luarocks-site
144 git pull
144else 145else
145 cd .. 146 cd ..
146 git clone https://github.com/luarocks/luarocks-site 147 git clone https://github.com/luarocks/luarocks-site
147 cd luarocks-site 148 cd luarocks-site
148fi 149fi
149 150
150git pull
151sed -i 's,luarocks-[0-9]*\.[0-9]*\.[0-9]*,luarocks-'$v',' static/md/home.md 151sed -i 's,luarocks-[0-9]*\.[0-9]*\.[0-9]*,luarocks-'$v',' static/md/home.md
152git add static/md/home.md 152git add static/md/home.md
153 153
@@ -168,6 +168,7 @@ git push
168if [ -e ../luarocks.wiki ] 168if [ -e ../luarocks.wiki ]
169then 169then
170 cd ../luarocks.wiki 170 cd ../luarocks.wiki
171 git pull
171else 172else
172 cd .. 173 cd ..
173 git clone https://github.com/luarocks/luarocks.wiki.git 174 git clone https://github.com/luarocks/luarocks.wiki.git
@@ -176,6 +177,8 @@ fi
176 177
177sed -i "s,The current stable release is [^:]*:,The current stable release is '''$v''':," Download.mediawiki 178sed -i "s,The current stable release is [^:]*:,The current stable release is '''$v''':," Download.mediawiki
178 179
180sed -i "s,luarocks-[0-9.]*[0-9],luarocks-$v," Installation-instructions-for-Unix.md
181
179gawk ' 182gawk '
180BEGIN { 183BEGIN {
181 print "'\'\'\''Version '$v\'\'\'' - '$(date +'%d/%b/%Y')' - [http://luarocks.org/releases/luarocks-'$v'.tar.gz All Unix] -" 184 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"
190 193
191git add "Download.mediawiki" 194git add "Download.mediawiki"
192git add "Release-history.mediawiki" 195git add "Release-history.mediawiki"
196git add "Installation-instructions-for-Unix.md"
193 197
194confirm master 198confirm master
195 199