Skip to content

Commit

Permalink
Release process
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Aug 31, 2023
1 parent 2b009ca commit 1a4bac9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/docs/Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,19 @@ Development
* Run backend server: Get backend server up by running `npm run backend:serve`.
* Watch backend server: Watch backend server for realtime changes with `npm run backend:watch`.
* React frontend server: React development server is set to serve on port 4300. Run `npm run frontend:dev` script to get it working.


Releasing and packaging on Github
----------------------------------
* Go to repo's `Releases` page and draft a new release.
* Prepare release notes with the help of milestone, issues and PRs. Add them on the release page.
* Signing the release:
** `VERSION=vx.y.z`
** `mkdir -p ./release & git archive --format zip --output ./release/cln-application-${VERSION}.zip main`
** `cd release`
** `sha256sum cln* > SHA256SUMS`
** `gpg -sb --armor -o SHA256SUMS.asc SHA256SUMS`
* Verify the release with `gpg --verify SHA256SUMS.asc`.
* Upload `cln-application-${VERSION}.zip`, `SHA256SUMS` and `SHA256SUMS.asc` files on release assets.
* Go to repo's `Actions` tab and confirm that actions have been triggered for `Artifact` and `Build and publish Github image`.
* Confirm that both actions finished successfully and the latest package is available at `https://github.com/orgs/ElementsProject/packages?repo_name=cln-application`.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ application-cln.log
env.sh
.commando
data/app/config.json
release

0 comments on commit 1a4bac9

Please sign in to comment.