ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
6.02k stars 864 forks source link

chore: automate releases with release-please #2664

Closed SgtPooki closed 1 year ago

SgtPooki commented 1 year ago

This PR enables release-please. some details at https://github.com/ipfs/ipfs-desktop/pull/2671#issuecomment-1760467403

SgtPooki commented 1 year ago

flow:

  1. merge PRs... as normal.. an open release-please PRs will be kept up to date by release-please
  2. release-please creates a release PR that collects all these changes on main - https://github.com/ipfs/ipfs-companion/blob/89901efb6d89dcde7b653d8eb6ee379e69c37411/.github/workflows/ci.yml#L96-L108
    1. add files to handle version updates automatically (README.md)
  3. ready to release, you merge the release PR - https://github.com/ipfs/ipfs-companion/blob/89901efb6d89dcde7b653d8eb6ee379e69c37411/.github/workflows/ci.yml#L110-L115 runs
    1. git tag should be created but currently requires a manual tag creation on ipfs-companion
    2. need to attach binaries via action like https://github.com/ipfs/ipfs-companion/blob/89901efb6d89dcde7b653d8eb6ee379e69c37411/.github/workflows/ci.yml#L149C1-L157C118

For testing:

SgtPooki commented 1 year ago

some related testing that was done:

with final documented at https://github.com/ipfs/ipfs-desktop/pull/2672#issuecomment-1760555137

SgtPooki commented 1 year ago

Note that the following commits (pushed directly to main) were required to get things actually working: