Fixing several ShellCheck warnings
This commit is contained in:
committed by
Paul Chote
parent
807a40c209
commit
2d4d6cdc1b
@@ -24,15 +24,15 @@ mkdir -p "$(dirname "$SSH_KEY")"
|
||||
openssl aes-256-cbc -k "$KEY" -in ssh.enc -d -out "$SSH_KEY"
|
||||
chmod 0600 "$SSH_KEY"
|
||||
|
||||
rm -rf $HOME/openra-wiki
|
||||
git clone git@github.com:OpenRA/OpenRA.wiki.git $HOME/openra-wiki
|
||||
rm -rf "$HOME/openra-wiki"
|
||||
git clone git@github.com:OpenRA/OpenRA.wiki.git "$HOME/openra-wiki"
|
||||
|
||||
mono --debug ../OpenRA.Utility.exe all --docs > "${HOME}/openra-wiki/Traits${TAG}.md"
|
||||
mono --debug ../OpenRA.Utility.exe all --weapon-docs > "${HOME}/openra-wiki/Weapons${TAG}.md"
|
||||
mono --debug ../OpenRA.Utility.exe all --lua-docs > "${HOME}/openra-wiki/Lua API${TAG}.md"
|
||||
mono --debug ../OpenRA.Utility.exe all --settings-docs > "${HOME}/openra-wiki/Settings${TAG}.md"
|
||||
|
||||
pushd $HOME/openra-wiki
|
||||
pushd "$HOME/openra-wiki" || exit 1
|
||||
git config --local user.email "orabot@users.noreply.github.com"
|
||||
git config --local user.name "orabot"
|
||||
git add "Traits${TAG}.md"
|
||||
@@ -40,6 +40,6 @@ git add "Lua API${TAG}.md"
|
||||
git add "Settings${TAG}.md"
|
||||
git commit -m "Update trait and scripting documentation for branch $1" &&
|
||||
git push origin master
|
||||
popd
|
||||
popd || exit
|
||||
|
||||
shred -u "$SSH_KEY"
|
||||
|
||||
Reference in New Issue
Block a user