Releases - accordproject/techdocs GitHub Wiki

Project Releases

npm:

GitHub:

  • Hyperledger Fabric Connector
  • Corda App

Deployed:

VSCode Marketplace:


Releasing

Releases are made manually by maintainers through GitHub. Version tags follow semantic-versioning conventions with a v prefix, for example v1.2.3.

Generating release notes from Pull Requests

A markdown changelog that includes the contributors and links to changes can be generated automatically through the lerna-changelog tool.

  1. You will need a GitHub Personal Access Token with public_repo permissions.
  2. Review all merged PRs since the last release to ensure that they are appropriately labelled with one of the following labels.
    • Type: Breaking Change ๐Ÿ’ฅ
    • Type: Enhancement โœจ
    • Type: Bug ๐Ÿ›
    • Type: Chore ๐Ÿงผ
    • Type: Documentation ๐Ÿ“

Note that Type: Styling and Type: Feature Request are not used, you should use Type: Enhancement instead.

  1. Run the following command from the root folder of an up-to-date local clone of this repository to generate the markdown content.
GITHUB_AUTH=[YOUR_PERSONAL_ACCESS_TOKEN] npm run changelog:unreleased
  1. Copy the markdown output from the terminal to the GitHub release editor.

Release Notes Structure


### LABEL
- #<ISSUE_OR_PR>: Summary Title (@user)
  - Specifics if needed here
- Any change which breaks previous versions

๐Ÿ’ฅ Breaking Change

  • Any change which breaks previous versions

๐Ÿ‘“ Spec Compliance

  • Changes to language specific specifications (i.e. unicode, parser, syntax)

๐Ÿš€ New Feature

  • Added functionality which is noteworthy

๐Ÿ›ฐ New Command Line

  • Added features to CLI of Ergo, Cicero, or Concerto

๐Ÿฆ‹ Ergo

  • Support from lower in the stack from Ergo

๐Ÿ“š Standard Library

  • Updates to the function library within Ergo

โš™๏ธ Compiler

  • Updates to the Ergo compiler

๐Ÿ— Build

  • Improved build process

๐Ÿ› Bug Fix

  • Corrections to issues in production source code

โ†—๏ธ Dependencies

  • Upgrade to dependencies

๐Ÿ›ก๏ธSecurity

  • Fix to vulnerability or improved code safety

๐Ÿƒโ€โ™€ Performance

  • Improvements to code efficiency

๐Ÿ’… Polish

  • Styling updates or refactoring the structure of source code

๐Ÿ“ Documentation

  • Additions or edits to docs for accessibility to information or guides

๐Ÿ  Internal

  • Updates to factors which concern contributors and maintainers (i.e. tests or licensing)

๐Ÿ– Regression

  • A rollback of code, usually a mistake that was merged in