-
Notifications
You must be signed in to change notification settings - Fork 501
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
feat: automate releases #1957
feat: automate releases #1957
Conversation
cfe9c93
to
8929944
Compare
@lidel , I played around with this a bit longer than I planned yesterday, trying to get CID during changelog process, removing all manual steps. I think if we use a CAR with a single CID, we could remove the CID from the release notes, and then auto-generate them easier. what are your thoughts? |
@SgtPooki try rebasing on main branch + applying fix from #1958 (comment) – using node 16.x seems to fix e2e for now |
@lidel will do, but I think this update would be best decided after we discuss how to handle CIDs in the changelog. I moved this PR to a draft.
|
We should:
|
dabaee3
to
7ddf870
Compare
i've decided to go an entirely better direction and use semantic-release for this since aegir and everything else is using it. I've got the CID automatically adding to the release-notes (which semantic-release should add to the changelog automatically) via |
1. make eslint workflow commposable 2. generate car file, and cache it, during publishPreview job 3. add cached car file to release artifacts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @SgtPooki!
This approach looks sensible, ok to merge as long you address comments below and fix e2e tests to pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just the tests not passing.
This change also continues on failure for both of the pinning steps, but will fail the job if neither pinning attempt succeeds
* except for semantic-release required updates
trying one last time to have the CI pass with the semantic-release dependencies added to package.json and package-lock.json, if this fails, I'm going to revert and merge. if it passes, I'm going to remove the npm install of those deps from the semantic release step |
## [2.16.0](v2.15.1...v2.16.0) (2022-07-08) CID `bafybeif2m4cd3vwwx532hclbuifl2ihqvtv627jatrljrh44gzmvtlg4xe` --- ### Features * Add ipfs-gui-bot for semantic release ([36d5eea](36d5eea)) * automate releases ([#1957](#1957)) ([8bc04ac](8bc04ac)) ### Bug Fixes * **ci:** .github/workflows/tx-pull.yml ([7ddf870](7ddf870)) * npm install before semantic release ([e806924](e806924)) * semantic-release uses GITHUB_TOKEN ([1f74b1b](1f74b1b)) * updated ipfs-geoip (2022-06-28) ([#1958](#1958)) ([9e4dde2](9e4dde2)) ### Trivial Changes * **i18n:** pull translations automatically ([#1956](#1956)) ([0c47a69](0c47a69)) * pull transifex translations ([#1960](#1960)) ([e9a0fe2](e9a0fe2)) * **readme:** js-ipfs CID update blocked by [#1730](#1730) ([#1959](#1959)) ([89b021c](89b021c))
🎉 This PR is included in version 2.16.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
custom-release-notes-generator.js
, automatically adding CID