Skip to content

Merge pull request #348 from SkillsFundingAgency/DASD-12107 #37

Merge pull request #348 from SkillsFundingAgency/DASD-12107

Merge pull request #348 from SkillsFundingAgency/DASD-12107 #37

Workflow file for this run

name: Release
on:
push:
branches:
- 'master'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: "5.x"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
- name: Create Release
id: create_release
run: gh release create ${{ steps.gitversion.outputs.majorMinorPatch }} --title "${{ steps.gitversion.outputs.majorMinorPatch }} - ${{ github.event.head_commit.message }}" --generate-notes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}