Skip to content

Commit

Permalink
Document manual release of select packages to CHaP (#4878)
Browse files Browse the repository at this point in the history
Everything is in the title: A small PR adding some documentation about
#4411
  • Loading branch information
abailly authored Dec 11, 2024
2 parents 5cf6c6c + 943edc7 commit 3e617b9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/site/src/contributor/how/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@

- Create new page on cardano-wallet's [wiki](https://github.com/cardano-foundation/cardano-wallet/wiki/_new) called `Release vYYYY-MM-DD` by copying contents of the previous releas.
- Follow the `Release checklist`. Update progress or report obstacles on the thread.

## Releasing packages to CHaP

[CHaP](https://github.com/IntersectMBO/cardano-haskell-packages) or the _Cardano Haskell Packages_ repository is useful to publish _Haskell_ packages relevant to the Cardano ecosystem as this allows standard build tools like `Cabal` to work out-of-the-box with only some configuration to point to the repository in addition to https://hackage.haskell.org

To publish packages on CHaP:

1. Clone the repository locally from https://github.com/cardano-foundation/cardano-haskell-packages/
2. Run script to create relevant commits, for example to release `cardano-coin-selection` package and its (local) dependencies:

```
$ scripts/add-from-github.sh https://github.com/cardano-foundation/cardano-wallet 9eb5f59c328163ca061a20f47519686b6f118d74 lib/coin-selection lib/primitive lib/test-utils lib/delta-types lib/crypto-primitives lib/launcher lib/numeric lib/text-class
```
3. Open a Pull Request on upstream repository (ie. https://github.com/IntersectMBO/cardano-haskell-packages/)

0 comments on commit 3e617b9

Please sign in to comment.