-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
BUG: WinGet release uploads with the wrong hash #2086
Comments
is this related to the |
Yes. We probably can remove the first upload and keep the upload from tagging. |
hmm, but the first upload should be marked as draft, which shouldn't trigger the winget workflow... right? the workflow defines the condition: on:
release:
types: [released] |
I agree though, we can try that, see how it works. How about we modify the appveyor deployment config so that commits to |
The documentation doesn't clearly say as far as I can tell. 🤔 |
yup, I find it vague as well...
I mean something like: - provider: GitHub
+ repository: Flow-Launcher/Prereleases
release: v$(flowVersion)
+ description: 'This is a release candidate.'
auth_token:
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
- draft: true
force_update: true
on:
branch: master
- provider: GitHub
release: v$(flowVersion)
auth_token:
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
- force_update: true
on:
APPVEYOR_REPO_TAG: true |
I am not sure what is defined as 'released' for the action without investigating.
I dont think this is a necessary step. If you have a look, whenever we merge to main, it runs two build process, once on merge and another on tag, and this takes a tremendous longer time to finish the whole release process. I want to see if it's possible to simplify, on merge -> build -> upload -> create release note draft (assuming this creates a tag as well). Hence I suggested maybe there is a step we can remove there which will also be able to help with WinGet action firing twice. |
I think this step is not necessary, we don't ever manually tag for release: Lines 79 to 86 in fa2c894
|
This deployment should also fire when you publish a release, if the associated tag does not already exist... Maybe this explains why winget action runs twice: once when the Anyways, I think we can simplify the deployment setup by only creating a draft release on I think that would satisfy your requirements @jjw24 :
sounds good? |
Yes this would be the goal.
I suppose setting it to |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen. |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Checks
I have checked that this issue has not already been reported.
I am using the latest version of Flow Launcher.
Problem Description
WinGet release uploads with the wrong hash, most likely due to dual release steps in the appveyor.yml on merge to master.
microsoft/winget-pkgs#103060 (comment)
To Reproduce
Screenshots
No response
Flow Launcher Version
0
Windows Build Number
0
Error Log
The text was updated successfully, but these errors were encountered: