Skip to content

Add support for retrieving the release notes from Github. - #1679

Merged
leaanthony merged 6 commits into
masterfrom
feature/release-notes
Aug 1, 2022
Merged

leaanthony merged 6 commits into
masterfrom
feature/release-notes

Conversation

@leaanthony

Copy link
Copy Markdown
Member

New wails show command to show release notes (as well as other things - maybe doctor later on).
Release notes are run through a markdown renderer for nice output. They are automatically displayed after an update.

@leaanthony
leaanthony requested a review from stffabi July 30, 2022 10:32
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 30, 2022 •

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 496b21d
Status:⚡️  Build in progress...

View logs

@stffabi stffabi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, awesome enhancement 🚀 . I've just left a minor comment.

Comment thread v2/internal/github/github.go Outdated
)

func GetReleaseNotes(tagVersion string) string {
resp, err := http.Get("https://api.github.com/repos/wailsapp/wails/releases/tags/" + tagVersion)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we url.PathEscape the tagVersion, just to be sure?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hell yes 😜

@leaanthony
leaanthony merged commit e9fc5c9 into master Aug 1, 2022
@leaanthony
leaanthony deleted the feature/release-notes branch August 1, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants