Skip to content

Manually Generate Release Notes

Vanessa-Cusmich edited this page Feb 14, 2020 · 6 revisions

We are currently running into an access issue in one of our CI tools that interferes with the automatic generation of release notes. In the meantime, Release Notes can be manually downloaded from the github api by following the below steps: Steps:

  1. Trigger a release.

  2. Review the release list to see if the notes have been created. If they haven’t been created, continue to step 3.

  3. Open your local fundamental-styles project directory.

  4. Call npm run release:create -- --repo sap/fundamental-styles --tag v{{version}} --branch master , and replace the {{version}} with the new release version (ex. version 0.5.0 would look like npm run release:create -- --repo sap/fundamental-styles --tag v0.5.0 --branch master

  5. The script will try to fetch(GET) and transform the release notes and push(POST) them to repo. Once completed, a prepared message like the one below will appear on the console. Example Output: image

  6. When the POST method throws an error, the only way to add the release notes is to copy and paste them manually to the releases page. See the release notes for the 0.5.0 version for more details.