Creates a new Jira release for a specific Jira project and assigns all relevant* Jira issue numbers to it.
* All Jira issue numbers (e.g. TEST-123) in commit messages since last Git tag.
In order to be able to use this GitHub Action, a custom Jira automation rule needs to be created first. Please refer to the screenshot below for the most important settings.
See action.yml
steps:
- uses: actions/checkout@v2
- uses: GeoWerkstatt/create-jira-release@v1
with:
jira-project-key: 'TEST'
jira-automation-webhook: ${{ secrets.JIRA_AUTOMATION_WEBHOOK }}
build-version: v${{ env.VERSION }}
key | description | required |
---|---|---|
jira-project-key |
Jira project identifier (e.g. TEST) | true |
jira-automation-webhook |
Jira automation webhook url | true |
build-version |
Version identifier | true |
key | description | required |
---|---|---|
secrets.JIRA_AUTOMATION_WEBHOOK |
Can be obtained or regenerated in the Incoming webhook automation step of the corresponding Jira automation rule. | true |
A new GitHub pre-release is created automatically if there are new changes on the main
branch. Uncheck This is a pre-release in the Edit-Section for a specific pre-release in order to update a major tag (e.g. v1) to point to the latest release. A major tag from the latest released tag is created automatically if a corresponding major tag doesn't exist already.
The scripts and documentation in this project are released under the MIT License