-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
chore(release): remove goreleaser #9909
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
tknickman
approved these changes
Feb 6, 2025
tknickman
added a commit
that referenced
this pull request
Feb 7, 2025
Reverts #9909 Issue with marking bin as executable on publish: ``` <ref *1> Error: spawnSync /Users/knickman/.npm/_npx/41b87e1488d166d0/node_modules/turbo-darwin-arm64/bin/turbo EACCES at Object.spawnSync (node:internal/child_process:1117:20) at spawnSync (node:child_process:876:24) at Object.execFileSync (node:child_process:919:15) at Object.<anonymous> (/Users/knickman/.npm/_npx/41b87e1488d166d0/node_modules/turbo/bin/turbo:266:17) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 { errno: -13, code: 'EACCES', ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Finally remove
goreleaser
after Go left the codebase a year ago. This does almost exactly what we were doing withgoreleaser
except we now base the native releases off ofversion.txt
contents like every other package and not Git tags.I highly recommend reading each commit especially the first one as I mark up the
goreleaser
flow we were using explaining what exactly it did.Updates from #9905
Include
LICENSE
in the native package distributionsCreate a tarball containing a directory that contains our package. Closer reading of the npm docs make it clear this is what it expects:
We had
wrap_in_directory: true
in our goreleaser workflow which did this for us.Testing Instructions
Latest dry run
The dry run got up to the publishing step! All of the
tar.gz
files look correct: logsRunning locally, the contents of
tar.gz
looks to be correct:What hasn't been tested is the actual
npm publish
call, but I am fairly certain that will work as it's a very similar shell command to the one used ingoreleaser