Skip to content

Auto release

Auto release #119

Workflow file for this run

name: Auto release
permissions:
contents: read
on:
workflow_dispatch:
schedule:
# every Wednesday at 3:00 pm
- cron: '0 15 * * 3'
jobs:
generate:
name: Auto release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
- name: 'Get last tag'
id: lasttag
uses: WyriHaximus/github-action-get-previous-tag@04e8485ecb6487243907e330d522ff60f02283ce # v1.4.0
- name: 'Get next version'
id: semvers
uses: WyriHaximus/github-action-next-semvers@18aa9ed4152808ab99b88d71f5481e41f8d89930 # v1.2.1
with:
version: ${{ steps.lasttag.outputs.tag }}
- name: 'Create tag and release'
uses: ncipollo/release-action@cdcc88a9acf3ca41c16c37bb7d21b9ad48560d87 # v1.15.0
with:
tag: ${{ steps.semvers.outputs.patch }}
commit: "main"
token: ${{ secrets.AUTO_UPDATE_GITHUB_TOKEN }}
name: ${{ format('v{0}', steps.semvers.outputs.patch) }}
body: "Automatic release updating embedded log_list.json and log_list.sig"