-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix prompt to "update" to old version when on pre-release (#757)
* Fix prompt to "update" to old release when on pre-release - Fix so that a release candidate / alpha / beta no longer gives prompt to "update" to an older release - Change: users on a pre-release now get a prompt to update to the newest version, such as a newer release candidate - No change for those on releases - Close #627 * Change pre-release detection to use github API - Change so that pre-release status is detected by parsing the json of all releases and finding the one corresponding to the commit SHA
- Loading branch information
1 parent
aadac1f
commit 6a642b5
Showing
2 changed files
with
66 additions
and
32 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
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,2 +1,2 @@ | ||
github.api.url=https://api.github.com/repos/RPTools/maptool/releases/latest?access_token= | ||
github.api.releases = https://api.github.com/repos/RPTools/maptool/releases?access_token= | ||
github.api.oauth.token=28276e82af1de2f79f0c38ceb17d2b23640784eb |