-
Notifications
You must be signed in to change notification settings - Fork 159
21 lines (21 loc) · 922 Bytes
/
version.yml
File metadata and controls
21 lines (21 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# CI won't run on generated PR, easiest workaround is to close + reopen
name: Append version number and create PR
on:
release:
types: [published]
jobs:
add-dev-to-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Append version with dev
run: sed -i '/20[0-9][0-9]\.[0-9][0-9]/ s/]/-dev]/' configure.ac
- name: Create pull request
uses: peter-evans/create-pull-request@v7.0.6
with:
base: main # creates a new branch off of main
branch: add-dev-post-release # name of the created branch
branch-suffix: timestamp # add a timestamp to branch name
delete-branch: true # delete afer merge
title: Append dev to version number post-release
body: automated change, adds '-dev' to the version number upon releases. This PR will need to be closed and reopened to run CI testing.