File tree Expand file tree Collapse file tree 4 files changed +11
-15
lines changed Expand file tree Collapse file tree 4 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 7
7
"include-v-in-tag" : false
8
8
}
9
9
},
10
- "pull-request-title-pattern" : " chore: release${component} ${version}"
10
+ "pull-request-title-pattern" : " chore: release${component} ${version}" ,
11
+ "extra-files" : [
12
+ " bash_completion" ,
13
+ " configure.ac"
14
+ ]
11
15
}
Original file line number Diff line number Diff line change 58
58
manifest-file : .github/release-please-manifest.json
59
59
id : release
60
60
if : github.event_name == 'push' && matrix.dist == 'alpine'
61
- - name : Do release preparations
62
- run : |
63
- version=$(cat version.txt)
64
- sed -i -re "s/^(BASH_COMPLETION_VERSINFO=).*/\\1(${version//./ })/" bash_completion
65
- sed -i -re "s/^(AC_INIT\(.*\[)[0-9.]+(\].*)/\\1$version\\2/" configure.ac
66
- git config user.name $(git log -1 --format=format:%an)
67
- git config user.email $(git log -1 --format=format:%ae)
68
- git commit --message="chore: bump release in dist files" bash_completion configure.ac
69
- git tag --force ${{steps.release.outputs.tag_name}}
70
- git push
71
- git push --tags --force
72
- if : steps.release.outputs.release_created
73
61
# A "container" workflow config would be cleaner here, but comes with
74
62
# some restrictions/oddities: changes root's $HOME to /github/home
75
63
# without changing the actual home dir that can cause some problems,
Original file line number Diff line number Diff line change 23
23
#
24
24
# https://github.com/scop/bash-completion
25
25
26
- BASH_COMPLETION_VERSINFO=(2 11 0)
26
+ BASH_COMPLETION_VERSINFO=(
27
+ 2 # x-release-please-major
28
+ 11 # x-release-please-minor
29
+ 0 # x-release-please-patch
30
+ )
27
31
28
32
if [[ $- == * v* ]]; then
29
33
_comp__init_original_set_v=" -v"
Original file line number Diff line number Diff line change 1
1
AC_PREREQ ( [ 2.60] )
2
- AC_INIT ( [ bash-completion] , [ 2.11.0] )
2
+ AC_INIT ( [ bash-completion] , [ 2.11.0] ) dnl x-release-please-version
3
3
dnl tar-pax for portable UTF-8 handling
4
4
AM_INIT_AUTOMAKE ( [
5
5
foreign dist-xz no-dist-gzip tar-pax -Wall -Wno-portability -Werror
You can’t perform that action at this time.
0 commit comments