-
Notifications
You must be signed in to change notification settings - Fork 10
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 #21 from ihsoft/next
Release v1.13
- Loading branch information
Showing
14 changed files
with
115 additions
and
751 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"NAME": "KSP-AVC Plugin", | ||
"URL": "http://ksp.spacetux.net/avc/KSP-AVC", | ||
"DOWNLOAD": "https://github.com/linuxgurugamer/KSPAddonVersionChecker/releases", | ||
"GITHUB": { | ||
"USERNAME": "linuxgurugamer", | ||
"REPOSITORY": "KSPAddonVersionChecker" | ||
}, | ||
"VERSION": { | ||
"MAJOR": 1, | ||
"MINOR": 3, | ||
"PATCH": 0, | ||
"BUILD": 3 | ||
}, | ||
"KSP_VERSION": { | ||
"MAJOR": 1, | ||
"MINOR": 5, | ||
"PATCH": 1 | ||
}, | ||
"KSP_VERSION_MIN": { | ||
"MAJOR": 1, | ||
"MINOR": 5, | ||
"PATCH": 1 | ||
} | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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
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
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,6 +1,7 @@ | ||
--project=245073 | ||
--token=<<SECRET>> | ||
--changelog=../CHANGELOG.md | ||
--github=ihsoft/SurfaceLights | ||
--versions=latest_all_builds | ||
--title=SurfaceLights {tag} | ||
--archive=../SurfaceLights_v1.12.zip | ||
--archive=../SurfaceLights_v1.13.zip |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--project=1911 | ||
--login=<<SECRET>> | ||
--changelog=../CHANGELOG.md | ||
--github=ihsoft/SurfaceLights | ||
--ksp_version=latest | ||
--archive=../SurfaceLights_v1.12.zip | ||
--archive=../SurfaceLights_v1.13.zip |
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,37 @@ | ||
# Public domain license. | ||
# Author: igor.zavoychinskiy@gmail.com | ||
# GitHub: https://github.com/ihsoft/KSPDev_ReleaseBuilder | ||
# $version: 1 | ||
# $date: 10/28/2018 | ||
|
||
"""Provides helpers to deal with the markup CHANGELOG file.""" | ||
import re | ||
|
||
|
||
def ExtractDescription(changelog_file, breaker_re): | ||
"""Loads the file and extarcts the lines up to the specified breaker.""" | ||
with open(changelog_file, 'r') as f: | ||
lines= f.readlines() | ||
changelog = '' | ||
for line in lines: | ||
# Ignore any trailing empty lines. | ||
if not changelog and not line.strip(): | ||
continue | ||
# Stop at the breaker. | ||
if re.match(breaker_re, line.strip()): | ||
break | ||
changelog += line | ||
return changelog.strip() | ||
|
||
|
||
def ProcessGitHubLinks(markup, github): | ||
"""Replaces the GitHub local links by the external variants.""" | ||
markup = re.sub( | ||
r'#(\d+)', | ||
r'[#\1](https://github.com/%s/issues/\1)' % github, | ||
markup) | ||
markup = re.sub( | ||
r'\[(.+?)\]\((wiki/.+?)\)', | ||
r'[\1](https://github.com/%s/\2)' % github, | ||
markup) | ||
return markup |