Skip to content

Merge pull request #7 from Flobul/update #100

Merge pull request #7 from Flobul/update

Merge pull request #7 from Flobul/update #100

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches: master
pull_request:
branches: master
jobs:
build:
name: "Generate release on version change"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Versions
id: versions
run: |
VERSION_NUMBER=$(cat version.ini)
echo "VERSION_NUMBER=${VERSION_NUMBER}" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: "v${{ env.VERSION_NUMBER }}"
name: "Release v${{ env.VERSION_NUMBER }}"
body: "Version: ${{ env.VERSION_NUMBER }}"
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}