diff --git a/Languages b/Languages index e96a3263..fdad1f33 160000 --- a/Languages +++ b/Languages @@ -1 +1 @@ -Subproject commit e96a3263738ca3d98661f650f5b4dbf44d77823d +Subproject commit fdad1f33992e7cf74d4dc3c9d0c14857806e5004 diff --git a/workshop_bundler.sh b/workshop_bundler.sh index f8c8cfb4..d02ccd50 100644 --- a/workshop_bundler.sh +++ b/workshop_bundler.sh @@ -8,64 +8,51 @@ cd .. git submodule update --init --recursive +rm -rf Multiplayer/ mkdir -p Multiplayer + +# About/ and Textures/ are shared between all versions cp -r About Textures Multiplayer/ + cat < Multiplayer/LoadFolders.xml + +
  • /
  • +
  • 1.4
  • +
  • /
  • -
  • 1.3-1
  • +
  • 1.3
  • - -
  • /
  • -
  • 1.3-0
  • -
  • /
  • 1.2
  • - -
  • /
  • -
  • 1.1
  • -
    - -
  • /
  • -
  • 1.0
  • -
    EOF +sed -i "// a \ \ \ \
  • 1.3
  • " Multiplayer/About/About.xml sed -i "// a \ \ \ \
  • 1.2
  • " Multiplayer/About/About.xml -sed -i "// a \ \ \ \
  • 1.1
  • " Multiplayer/About/About.xml -sed -i "// a \ \ \ \
  • 1.0
  • " Multiplayer/About/About.xml sed -i "/Multiplayer mod for RimWorld./aThis is version ${VERSION}." Multiplayer/About/About.xml sed -i "s/.*<\/version>\$/${VERSION}<\/version>/" Multiplayer/About/Manifest.xml -rm -rf Multiplayer/1.3 -mkdir -p Multiplayer/1.3 -cp -r Assemblies Defs Languages Multiplayer/1.3/ -rm -f Multiplayer/1.3/Languages/.git Multiplayer/1.3/Languages/LICENSE Multiplayer/1.3/Languages/README.md -mv Multiplayer/1.3 Multiplayer/1.3-1 +# The current version +rm -rf Multiplayer/1.4 +mkdir -p Multiplayer/1.4 +cp -r Assemblies Defs Languages Multiplayer/1.4/ +rm -f Multiplayer/1.4/Languages/.git Multiplayer/1.4/Languages/LICENSE Multiplayer/1.4/Languages/README.md +# Past versions mkdir -p Multiplayer/1.3 -git --work-tree=Multiplayer/1.3 checkout origin/rw-1.3 -- Assemblies Defs -cp -r Languages Multiplayer/1.3/ +git --work-tree=Multiplayer/1.3 checkout origin/rw-1.3.3311 -- Assemblies Defs Languages git reset Assemblies Defs Languages -mv Multiplayer/1.3 Multiplayer/1.3-0 mkdir -p Multiplayer/1.2 git --work-tree=Multiplayer/1.2 checkout origin/rw-1.2 -- Assemblies Defs Languages git reset Assemblies Defs Languages -mkdir -p Multiplayer/1.1 -git --work-tree=Multiplayer/1.1 checkout origin/rw-1.1 -- Assemblies Defs Languages -git reset Assemblies Defs Languages - -mkdir -p Multiplayer/1.0 -git --work-tree=Multiplayer/1.0 checkout origin/rw-1.0 -- Assemblies Defs Languages -git reset Assemblies Defs Languages - +# Zip for Github releases rm -f Multiplayer-v$VERSION.zip zip -r -q Multiplayer-v$VERSION.zip Multiplayer