Skip to content

version-update

version-update #14

Workflow file for this run

name: Update Gaphor version
on:
workflow_dispatch:
inputs:
version:
description: 'New version'
required: true
repository_dispatch:
types: [version-update]
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Update version
run: |
if test -z "${{ github.event.inputs.version }}${{ github.event.client_payload.version }}"; then echo "No version provided"; exit 1; fi
make only-update VERSION=${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: update to version ${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
title: Update to version ${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
body: Update to latest release
branch: release-${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
base: master