diff --git a/.github/workflows/ksp-publish.yml b/.github/workflows/ksp-publish.yml index 2da9416..5264651 100644 --- a/.github/workflows/ksp-publish.yml +++ b/.github/workflows/ksp-publish.yml @@ -107,12 +107,24 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - deploy/Shabby-*.zip + deploy/DepthMask-*.zip deploy/DepthMask.version name: DepthMask Version ${{ env.GITHUB_REF }} body_path: RELEASE.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish to Spacedock + run: | + curl -F "username=drewcassidy" -F "password=${{ secrets.SPACEDOCK_PASS }}" \ + -c ./cookies "https://spacedock.info/api/login" + curl -c ./cookies -b ./cookies \ + -F "version=$VERSION_TITLE" \ + -F "changelog=$(yaclog show -mb)" \ + -F "game-version=1.12.4" \ + -F "notify-followers=yes" \ + -F "zipball=@deploy/DepthMask-$GITHUB_REF.zip" \ + "https://spacedock.info/api/mod/2943/update" - name: Publish to Server run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 557bcb6..1efe889 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. +## Unreleased + +This version changes the distribution layout! Please make sure DepthMask.dll is deleted before updating. + +### Added + +- Allowed for multiple body and mask transforms to be specified using a comma seperated list + + ## 1.1.2 - 2021-01-15 [KSP 1.11] This version of DepthMask requires KSP 1.11. If you are using KSP 1.10 or older, use v1.1.1 diff --git a/README.md b/README.md index 37874cc..fd3d08f 100644 --- a/README.md +++ b/README.md @@ -35,4 +35,4 @@ Mask meshes and configs for stock parts are included in [ReStock](https://github This plugin is licensed Creative Commons Sharealike Attribution. This means that you can redistribute it and its source code however you like under the same license as long as you include attribution and indicate the changes you made, if any. ### Redistribution -You are free to redistribute this plugin in your mods, or embed the code in your own plugins (with a different module name for compatability of course.) To prevent duplicates of the plugin, please add the dll to the root gamedata directory. In general, treat this mod the same as [Modulemanager](https://github.com/sarbian/ModuleManager) for redistribution +You are free to redistribute this plugin in your mods, or embed the code in your own plugins (with a different module name for compatability of course.) To prevent duplicates of the plugin, please add the DepthMask folder to the root gamedata directory. In general, treat this mod the same as [Modulemanager](https://github.com/sarbian/ModuleManager) for redistribution