mirror of
https://github.com/drewcassidy/KSP-DepthMask
synced 2024-09-01 14:54:35 +00:00
Compare commits
3 Commits
09f7cdab6f
...
403905abe7
Author | SHA1 | Date | |
---|---|---|---|
403905abe7 | |||
0e9558d116 | |||
b74440a07d |
6
.github/workflows/ksp-publish.yml
vendored
6
.github/workflows/ksp-publish.yml
vendored
@ -98,7 +98,7 @@ jobs:
|
||||
run: |
|
||||
mkdir deploy
|
||||
|
||||
zip -r deploy/DepthMask-$GITHUB_REF.zip DepthMask/*
|
||||
zip -r deploy/DepthMask-$VERSION_TITLE.zip DepthMask/*
|
||||
cp DepthMask/GameData/DepthMask/DepthMask.version deploy/
|
||||
|
||||
ls deploy
|
||||
@ -109,7 +109,7 @@ jobs:
|
||||
files: |
|
||||
deploy/DepthMask-*.zip
|
||||
deploy/DepthMask.version
|
||||
name: DepthMask Version ${{ env.GITHUB_REF }}
|
||||
name: DepthMask Version ${{ env.VERSION_TITLE }}
|
||||
body_path: RELEASE.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@ -123,7 +123,7 @@ jobs:
|
||||
-F "changelog=$(yaclog show -mb)" \
|
||||
-F "game-version=1.12.4" \
|
||||
-F "notify-followers=yes" \
|
||||
-F "zipball=@deploy/DepthMask-$GITHUB_REF.zip" \
|
||||
-F "zipball=@deploy/DepthMask-$VERSION_TITLE.zip" \
|
||||
"https://spacedock.info/api/mod/2943/update"
|
||||
|
||||
- name: Publish to Server
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## Unreleased
|
||||
## 1.1.3 - 2022-11-04
|
||||
|
||||
This version changes the distribution layout! Please make sure DepthMask.dll is deleted before updating.
|
||||
|
||||
|
@ -14,7 +14,7 @@ def run():
|
||||
g = gp.Git(basedir)
|
||||
|
||||
release = True
|
||||
tag, distance, sha = g.execute(["git", "describe", "--tags"]).split("-")
|
||||
tag, distance, sha, *_ = g.execute(["git", "describe", "--tags"]).split("-") + [0, 0]
|
||||
|
||||
if int(distance) > 0:
|
||||
release = False
|
||||
|
Loading…
Reference in New Issue
Block a user