Skip to content

Commit

Permalink
fix: set github release name to match the app version (#6840)
Browse files Browse the repository at this point in the history
  • Loading branch information
adelphes authored May 5, 2022
1 parent 481a7ed commit e9ba750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-carrots-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"electron-publish": patch
---

fix: set github release name to match the app version
1 change: 1 addition & 0 deletions packages/electron-publish/src/gitHubPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export class GitHubPublisher extends HttpPublisher {
private createRelease() {
return this.githubRequest<Release>(`/repos/${this.info.owner}/${this.info.repo}/releases`, this.token, {
tag_name: this.tag,
name: this.version,
draft: this.releaseType === "draft",
prerelease: this.releaseType === "prerelease",
})
Expand Down

0 comments on commit e9ba750

Please sign in to comment.