forked from rpm-software-management/dnf5
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 995 Bytes
/
prepare-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# from: https://github.com/packit/packit/blob/main/.github/workflows/prepare-release.yml
name: Prepare a new release
on:
workflow_dispatch:
inputs:
version:
required: true
description: Version number for the new release
jobs:
prepare-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Update translations from weblate
uses: actions/weblate-pull-translations
- name: Prepare release content
uses: inknos/[email protected]
with:
version: ${{ inputs.version }}
specfiles: dnf5.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