Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Windows packages to winget-pkgs #1144

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

mgyucht
Copy link
Contributor

@mgyucht mgyucht commented Jan 24, 2024

Changes

This PR adds a release workflow which will automatically publish the CLI to winget-pkgs whenever a release is made. It uses https://github.com/vedantmgoyal2009/winget-releaser to release the windows binaries. @Exorcism0666 has been graciously making releases on our behalf, but we can do this automatically ourselves after this PR.

Tests

@mgyucht mgyucht requested a review from ilia-db January 24, 2024 14:04
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cf2a1c3) 49.46% compared to head (d80abcf) 49.44%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1144      +/-   ##
==========================================
- Coverage   49.46%   49.44%   -0.02%     
==========================================
  Files         281      281              
  Lines       10726    10726              
==========================================
- Hits         5306     5304       -2     
- Misses       4855     4857       +2     
  Partials      565      565              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm

runs-on: windows-latest
environment: release
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's pin the commit sha instead of using a tag.

@mgyucht mgyucht requested a review from pietern January 25, 2024 08:40
@mgyucht
Copy link
Contributor Author

mgyucht commented Jan 25, 2024

Let's wait to merge this before hearing back from legal. I think it is OK since 1) we're not incorporating code from that project, 2) we're not statically or dynamically linking to any artifacts from that project, and 3) we're not modifying any code from that project.

@mgyucht
Copy link
Contributor Author

mgyucht commented Jan 29, 2024

This has been approved by legal, so we are good to merge.

@mgyucht mgyucht dismissed pietern’s stale review January 29, 2024 09:44

Addressed feedback and discussed offline.

@mgyucht mgyucht added this pull request to the merge queue Jan 29, 2024
Merged via the queue into main with commit 2f1b81c Jan 29, 2024
4 checks passed
@mgyucht mgyucht deleted the release-automatically-to-winget-pkgs branch January 29, 2024 09:50
Exorcism0666 added a commit to Exorcism0666/AutoRemove that referenced this pull request Jan 29, 2024
andrewnester added a commit that referenced this pull request Jan 31, 2024
CLI:
 * Release Windows packages to winget-pkgs ([#1144](#1144)).

Bundles:
 * Add `--key` flag for generate commands to specify resource key ([#1165](#1165)).

Dependency updates:
 * Bump github.com/google/uuid from 1.5.0 to 1.6.0 ([#1160](#1160)).
 * Update Go SDK to v0.30.1 ([#1162](#1162)).
@andrewnester andrewnester mentioned this pull request Jan 31, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 31, 2024
CLI:
* Release Windows packages to winget-pkgs
([#1144](#1144)).

Bundles:
* Add `--key` flag for generate commands to specify resource key
([#1165](#1165)).


Dependency updates:
* Bump github.com/google/uuid from 1.5.0 to 1.6.0
([#1160](#1160)).
* Update Go SDK to v0.30.1
([#1162](#1162)).
shreyas-goenka added a commit that referenced this pull request Feb 1, 2024
shreyas-goenka added a commit that referenced this pull request Feb 1, 2024
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.

None yet

4 participants