Skip to content

Patch v2.23.0 ck8s2 #30

Patch v2.23.0 ck8s2

Patch v2.23.0 ck8s2 #30

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
branches:
- 'release-[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
if: github.event.pull_request.merged == true
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetches all tags
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(git describe --tags --abbrev=0 HEAD)
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
release_name: ${{ steps.get_version.outputs.VERSION }}
body: |
See [CHANGELOG.md](https://github.com/elastisys/compliantkubernetes-kubespray/blob/${{ steps.get_version.outputs.VERSION }}/CHANGELOG.md) for details.