File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # appends -dev to the version upon release and opens pr
2
+ # CI won't run on generated PR, easiest workaround is to close + reopen
3
+ on :
4
+ release :
5
+ types : [published]
6
+ jobs :
7
+ add-dev-to-version :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4.2.2
11
+ - name : Append version with dev
12
+ run : sed -i '/20[0-9][0-9]\.[0-9][0-9]/ s/]/-dev]/' configure.ac
13
+ - name : Create pull request
14
+ uses : peter-evans/create-pull-request@v7.0.6
15
+ with :
16
+ base : main # creates a new branch off of main
17
+ branch : add-dev-post-release # name of the created branch
18
+ branch-suffix : timestamp # add a timestamp to branch name
19
+ delete-branch : true # delete afer merge
20
+ title : Append dev to version number post-release
21
+ body : automated change, adds '-dev' to the version number upon releases. This PR will need to be closed and reopened to run CI testing.
You can’t perform that action at this time.
0 commit comments