From 88b6aa0d6f39852ab26aec75a52fb6ce48c2a2f3 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Wed, 2 Nov 2022 22:23:57 -0700 Subject: [PATCH] Add deployment to spacedock tbh I forgot this mod was even on SpaceDock --- .github/workflows/ksp-publish.yml | 14 +++++++++++++- CHANGELOG.md | 9 +++++++++ README.md | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) 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