Skip to content

1.1.6

1.1.6 #8

Workflow file for this run

name: release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 🏷 Get version from tag
id: tag_name
run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
shell: bash
- name: 🛒 Checkout repository
uses: actions/checkout@v2
- name: 📜 Get Changelog Entry
uses: artlaman/[email protected]
id: changelog_reader
with:
version: ${{ steps.tag_name.outputs.current_version }}
- name: ✍️ Create/update release
uses: ncipollo/release-action@v1
with:
name: Release ${{ steps.changelog_reader.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
allowUpdates: true
token: ${{ secrets.AUTH_GITHUB_TOKEN }}