separate wiki update script
This commit is contained in:
@@ -63,6 +63,8 @@ fi
|
|||||||
|
|
||||||
./upload-all.sh $TAG ~/openra-package/packages
|
./upload-all.sh $TAG ~/openra-package/packages
|
||||||
|
|
||||||
|
./update-wiki.sh
|
||||||
|
|
||||||
popd &> /dev/null # packaging
|
popd &> /dev/null # packaging
|
||||||
popd &> /dev/null # $_gitname-build
|
popd &> /dev/null # $_gitname-build
|
||||||
popd &> /dev/null # ~/openra-package/
|
popd &> /dev/null # ~/openra-package/
|
||||||
|
|||||||
8
packaging/update-wiki.sh
Executable file
8
packaging/update-wiki.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
echo "Updating https://github.com/OpenRA/OpenRA/wiki/Traits"
|
||||||
|
rm -rf openra-wiki
|
||||||
|
git clone git@github.com:OpenRA/OpenRA.wiki.git openra-wiki
|
||||||
|
cp -fr ../DOCUMENTATION.md openra-wiki/Traits.md
|
||||||
|
cd openra-wiki
|
||||||
|
git add Traits.md
|
||||||
|
git commit -m "Update trait documentation"
|
||||||
|
git push origin master
|
||||||
@@ -21,13 +21,4 @@ upload linux/deb openra_${LINUXVERSION}_all.deb
|
|||||||
upload linux/rpm openra-${LINUXVERSION}-1.noarch.rpm
|
upload linux/rpm openra-${LINUXVERSION}-1.noarch.rpm
|
||||||
upload linux/arch openra-${LINUXVERSION}-1-any.pkg.tar.xz
|
upload linux/arch openra-${LINUXVERSION}-1-any.pkg.tar.xz
|
||||||
|
|
||||||
curl http://${SERVER}/home/syncdownloads
|
curl http://${SERVER}/home/syncdownloads
|
||||||
|
|
||||||
echo "Updating https://github.com/OpenRA/OpenRA/wiki/Traits"
|
|
||||||
rm -rf openra-wiki
|
|
||||||
git clone git@github.com:OpenRA/OpenRA.wiki.git openra-wiki
|
|
||||||
cp -fr ../DOCUMENTATION.md openra-wiki/Traits.md
|
|
||||||
cd openra-wiki
|
|
||||||
git add Traits.md
|
|
||||||
git commit -m "Update trait documentation"
|
|
||||||
git push origin master
|
|
||||||
Reference in New Issue
Block a user