Create new release manually #38
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
################### | |
# 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 }} |