Repository navigation
Blogger 1.1.8: an update check; the build writes <key>.json - #13
Merged
Merged
Conversation
Sellrika can now show an update badge for an uploaded extension that names an update_url. The build writes <key>.json on the latest release after each new version: its version and the link of its fixed zip. Blogger points its update_url at that file.
… update - A run that died between creating a release and uploading its zip left the update file pointing at nothing. A later run now uploads the zip. - README: a version with no update_url is updated once by hand.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Sellrika can now show an update badge for an uploaded extension (sellrika/sellrika, branch
extension-updates). The extension must name anupdate_url.Fix
<key>.jsonon thelatestrelease after each release:{version, url, notes}.urlis the fixed zip of that version (…/<key>-v<version>/<key>-<version>.zip). It is written only after that zip exists.blogger/extension.json:update_url=https://github.com/sellrika/extensions/releases/download/latest/blogger.json. Version 1.1.8.update_url.Note
A Sellrika that runs Blogger 1.1.7 has no
update_urlyet. Its admin installs 1.1.8 once by link. From then on, updates show on their own.Either merge order works: an older app ignores
update_url.