Skip to content

Prepare a new release #20

Prepare a new release

Prepare a new release #20

name: Prepare a new release
on:
workflow_dispatch:
inputs:
version:
required: true
description: Version number for the new release
jobs:
prepare-release:
# To not run in forks
if: github.repository_owner == 'packit'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare release content
uses: packit/prepare-release@v1
with:
version: ${{ inputs.version }}
specfiles: fedora/python-ogr.spec
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
labels: release
commit-message: Release ${{ inputs.version }}
title: Release ${{ inputs.version }}
body: Update the changelog and the specfile for release ${{ inputs.version }}.
delete-branch: true