Skip to content

Commit

Permalink
Updating automation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisias committed Nov 19, 2018
1 parent faa0e2f commit 7a72bdd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ deploy_ver() {
data=${data//\$\{KSPV\}/$KSPV}
data=${data//\$\{KSPA\[0\]\}/${KSPA[0]}}
data=${data//\$\{KSPA\[1]\}/${KSPA[1]}}
data=${data//\$\{KSPA\[2]\}/${KSPA[2]}}
if [ '4' == ${KSPA[1]} ] ; then
data=${data//\$\{KSPA\[2]\}/5}
else
data=${data//\$\{KSPA\[2]\}/3}
fi
rm "./GameData/$TARGETDIR/*.version"
echo "${data}" > "./GameData/$TARGETDIR/$VERSIONFILE"
echo "${data}" > "./$PACKAGE-$KSPV.version"
Expand All @@ -58,4 +62,4 @@ cp NOTICE "./GameData/$TARGETDIR"
for dll in $PLUGINS ; do
deploy_dev $dll
deploy $dll
done
done

0 comments on commit 7a72bdd

Please sign in to comment.