1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2026-10-24 23:33:43 +08:00
Files
nvm/.github
Jordan Harband 306f04a90a [actions] nodejs.org PR: fix force boolean and grab the latest tag on dispatch
The branch-reset step sent `force` as a string via `gh api -f "force=true"`,
which the Git refs API rejects ("not a boolean", HTTP 422), failing the release run.
Use `-F` so it is sent as a boolean.

Also resolve the version from the latest `vX.Y.Z` tag
(via the tags API) rather than `releases/latest`,
so a manual `workflow_dispatch` with no input works even before the GitHub release object for a freshly pushed tag is published.
2026-06-04 09:54:01 -07:00
..
2019-11-05 12:05:09 -08:00