Open janpio opened 2 years ago
Volta seems to have an interesting GH Actions workflow that could probably help with the first step: https://github.com/volta-cli/volta/blob/7eb56c3aab5fbe47effe156a3f573428a4ed44ae/.github/workflows/release.yml#L106-L158
Very important for users who transfer from scoop to winget! Where can I help right now? Although I'm not familiar with rust.
winget
now support portable software installation: https://github.com/microsoft/winget-cli/releases/tag/v1.3.2091
Didn't require installer, CMIIW it only require the portable binary (*.exe). If fnm
release the exe file (not inside zip), I think it could be done using winget-create in CI/CD. (I'm not familiar with winget workflows yet).
Seems to have been implemented in https://github.com/microsoft/winget-pkgs/pull/98786
Now that Windows binaries are available, it would be great to make them available via
winget
:Originally posted by @Schniz in https://github.com/Schniz/fnm/issues/4#issuecomment-716360005
Originally posted by @ulrikstrid in https://github.com/Schniz/fnm/issues/4#issuecomment-716382270^
Originally posted by @alumni in https://github.com/Schniz/fnm/issues/4#issuecomment-832589427
Originally posted by @Hazmi35 in https://github.com/Schniz/fnm/issues/4#issuecomment-921762739
So while it would be nice if
winget
could already install plain .zip files, that is currently not the case yet.Creating an installer that also takes care of setting the PATH seems like the best option then, which could then easily be turned into a
winget
package:build_release
(Windows) GitHub Actions workflow, that is uploaded as release artifact and included in GitHub releases.winget
package with this new Windows installer