Compare commits

...

2 Commits

Author SHA1 Message Date
Andrew Cassidy 09f7cdab6f Update some actions 2 years ago
Andrew Cassidy 88b6aa0d6f Add deployment to spacedock
tbh I forgot this mod was even on SpaceDock
2 years ago

@ -11,17 +11,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.7.2
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
@ -68,10 +68,10 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
@ -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: |

@ -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

@ -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

Loading…
Cancel
Save