linux-system-roles / vpn

Role for managing VPN/IPSec
https://linux-system-roles.github.io/vpn/
MIT License
8 stars 14 forks source link

[citest skip] Add changelog_to_tag.yml to .github/workflows #59

Closed nhosoi closed 2 years ago

nhosoi commented 2 years ago

Description: When a new changelog section is added to CHANGELOG.md and pushed, changelog_to_tag.yml is triggered, which generates a new tag and a new release.

Example of CHANGELOG.md changes:

  [9.9.9] - 2022-12-31
  --------------------

  ### New features

  - New feature A

  ### Bug fixes

  - Bug fix B

Using this example, when the commit on CHANGELOG.md is pushed, a new tag "9.9.9" is added and Version 9.9.9 is released in github. If tag "9.9.9" already exists, the CHANGELOG.md push fails.

Note: This PR needs to be merged after https://github.com/linux-system-roles/vpn/pull/58 is merged since we don't want pushing the initial CHANGELOG.md triggers the action.