RELEASE: 2.2.25 #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create GitHub Release after GitLab tag mirror | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
# GET LATEST CODE | |
- name: Checkout latest code | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
# EXTRACT TAG FROM PUSH | |
- name: Get tag | |
id: tag | |
uses: dawidd6/action-get-tag@v1 | |
- name: Use tag | |
run: echo ${{steps.tag.outputs.tag}} | |
# GENERATE CHANGELOG, RELEASE | |
- id: conventional_changelog | |
uses: ardalanamini/auto-changelog@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{steps.tag.outputs.tag}} | |
body: | | |
Automatic release of version: **${{steps.tag.outputs.tag}}** | |
**Changes in this release:** | |
${{ steps.conventional_changelog.outputs.changelog }} | |
draft: false | |
prerelease: false |