Creates a Jira release based on a Git tag.
- Finds the latest tag defined on HEAD
- Finds all Jira issue keys in the tag message
- Creates a release with the tag as name and sets fixVersion on all the issues found to this version
name: create-jira-release
# Controls when the workflow will run
on:
push:
tags:
- '*'
jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Jira release from git tag
uses: halloverden/git-tag-to-jira-release-action@v1
with:
jira_host: 'yourcompany.atlassian.net'
jira_username: '[email protected]'
jira_password: '${{ secrets.JIRA_PASSWORD }}'
jira_project: 'APP'