28 lines
695 B
YAML
28 lines
695 B
YAML
name: Start release
|
|
|
|
# By hand (Actions → Start release → Run workflow): makes release/vX.Y.Z from develop.
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: 'Version of the release, like 0.2.0'
|
|
required: true
|
|
|
|
jobs:
|
|
start:
|
|
runs-on: docker
|
|
container:
|
|
image: python:3.12-alpine
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: make the release branch
|
|
run: python3 .gitea/scripts/start_release.py
|
|
env:
|
|
GT_URL: https://git.iriks.casa
|
|
GT_OWNER: iriks-it
|
|
GT_REPO: laravel-manager
|
|
GT_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
|
VERSION: ${{ inputs.version }}
|