Skip to content

Release v1.2.7

Release v1.2.7 #75

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
jobs:
build:
runs-on: ubuntu-latest
if: github.base_ref == 'main' && startsWith(github.head_ref, 'release/') && github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get Variables
run: echo "version=$(cat VERSION)" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.version }}
release_name: "Release ${{ env.version }}"
body_path: CHANGELOG.release.md
draft: false
prerelease: false