Skip to content

Create new release manually #38

Create new release manually

Create new release manually #38

###################
# ENV VARS:
# - PAT (generated at Personal Access Tokens - with workflow access checked)
###################
name: Create new release manually
on:
workflow_dispatch:
inputs:
version:
description: 'version'
required: true
default: '4.25.0'
type: string
jobs:
get-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Fetch release version
id: fetch-version
run: |
echo "${{ github.event.inputs.version }}" > release-versions/strapi-latest.txt
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: New manual release ${{ github.event.inputs.version }}