-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from SpaceWarpDev/dev
Version 1.9.0.1
- Loading branch information
Showing
22 changed files
with
181 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish template release | ||
name: Build template | ||
|
||
on: | ||
push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,12 @@ name: Upload release | |
|
||
env: | ||
SPACEDOCK_MOD_ID: fill_in_your_mod_id_here | ||
SPACEDOCK_MOD_URL: "https://spacedock.info/mod/..." # The URL of your mod on SpaceDock" | ||
FORUM_TOPIC_URL: "https://forum.kerbalspaceprogram.com/topic/..." # The URL of your mod's forum topic | ||
FORUM_TOPIC_TITLE: "My Mod [v{version} for KSP2 v{ksp2_version}]" # The title of your mod's forum topic | ||
DISCORD_MOD_THREAD_ID: "1234..." # The thread ID of the mod's Discord post | ||
DISCORD_USERNAME: "My Mod" # The username of the bot that will post to Discord | ||
DISCORD_AVATAR_URL: ".." # The Image URL of the bot's avatar. Not required. | ||
|
||
on: | ||
release: | ||
|
@@ -60,4 +66,40 @@ jobs: | |
# mod_id: ${{ env.SPACEDOCK_MOD_ID }} | ||
# version: ${{ env.version }} | ||
# zipball: ${{ env.zip }} | ||
# changelog: ./changelog.md | ||
# changelog: ./changelog.md | ||
|
||
|
||
# KSP Forum topic update (both title and new post in the thread) | ||
# You need the secrets "KSP_FORUM_USERNAME" and "KSP_FORUM_PASSWORD" for this to work. | ||
# - name: Update Forum topic | ||
# uses: Kerbalight/ksp2-forum-post-action@latest | ||
# with: | ||
# username: ${{ secrets.KSP_FORUM_USERNAME }} | ||
# password: ${{ secrets.KSP_FORUM_PASSWORD }} | ||
# forum_topic_url: ${{ env.FORUM_TOPIC_URL }} | ||
# forum_topic_title: ${{ env.FORUM_TOPIC_TITLE }} | ||
# spacedock_url: ${{ env.SPACEDOCK_MOD_URL}} | ||
# version: ${{ env.version }} | ||
# changelog: ./changelog.md | ||
|
||
|
||
# Discord update. You need the secret "DISCORD_KMS_WEBHOOK_URL" for this to work. Ask in Discord for this. | ||
# - name: Prepare message for Discord | ||
# shell: bash | ||
# run: | | ||
# echo -e "## Release v${version}\n" > ./content.md | ||
# cat ./changelog.md >> ./content.md | ||
# { | ||
# echo 'discord_message<<EOF' | ||
# cat ./content.md | ||
# echo EOF | ||
# } >> "$GITHUB_ENV" | ||
|
||
# - name: Publish update to Discord | ||
# uses: tsickert/[email protected] | ||
# with: | ||
# webhook-url: ${{ secrets.DISCORD_KMS_WEBHOOK_URL }} | ||
# content: ${{ env.discord_message }} | ||
# thread-id: ${{ env.DISCORD_MOD_THREAD_ID }} | ||
# username: ${{ env.DISCORD_USERNAME }} | ||
# avatar-url: ${{ env.DISCORD_AVATAR_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json"/> | ||
<add key="SpaceWarp NuGet repository" value="https://nuget.spacewarp.org/v3/index.json"/> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Build | |
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Build | |
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/templates/SpaceWarpModEmpty/plugin_template/swinfo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"spec": "SpaceWarpSpecVersion", | ||
"mod_id": "SpaceWarpTemplateName", | ||
"author": "swinfo_author", | ||
"name": "swinfo_name", | ||
"description": "swinfo_description", | ||
"source": "swinfo_source", | ||
"version": "swinfo_version", | ||
"version_check": "swinfo_checkversion", | ||
"ksp2_version": { | ||
"min": "KspMinVersion", | ||
"max": "*" | ||
}, | ||
"dependencies": [ | ||
{ | ||
"id": "com.github.x606.spacewarp", | ||
"version": { | ||
"min": "SpaceWarpMinVersion", | ||
"max": "*" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Build | |
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/templates/SpaceWarpModLibrary/plugin_template/swinfo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"spec": "SpaceWarpSpecVersion", | ||
"mod_id": "SpaceWarpTemplateName", | ||
"author": "swinfo_author", | ||
"name": "swinfo_name", | ||
"description": "swinfo_description", | ||
"source": "swinfo_source", | ||
"version": "swinfo_version", | ||
"version_check": "swinfo_checkversion", | ||
"ksp2_version": { | ||
"min": "KspMinVersion", | ||
"max": "*" | ||
}, | ||
"dependencies": [ | ||
{ | ||
"id": "com.github.x606.spacewarp", | ||
"version": { | ||
"min": "SpaceWarpMinVersion", | ||
"max": "*" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Build | |
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"spec": "SpaceWarpSpecVersion", | ||
"mod_id": "SpaceWarpTemplateName", | ||
"author": "swinfo_author", | ||
"name": "swinfo_name", | ||
"description": "swinfo_description", | ||
"source": "swinfo_source", | ||
"version": "swinfo_version", | ||
"version_check": "swinfo_checkversion", | ||
"ksp2_version": { | ||
"min": "KspMinVersion", | ||
"max": "*" | ||
}, | ||
"dependencies": [ | ||
{ | ||
"id": "com.github.x606.spacewarp", | ||
"version": { | ||
"min": "SpaceWarpMinVersion", | ||
"max": "*" | ||
} | ||
}, | ||
{ | ||
"id": "UitkForKsp2", | ||
"version": { | ||
"min": "UitkForKsp2MinVersion", | ||
"max": "*" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters