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 77 "include-v-in-tag" : false
88 }
99 },
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+ ]
1115}
Original file line number Diff line number Diff line change 5858 manifest-file : .github/release-please-manifest.json
5959 id : release
6060 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
7361 # A "container" workflow config would be cleaner here, but comes with
7462 # some restrictions/oddities: changes root's $HOME to /github/home
7563 # without changing the actual home dir that can cause some problems,
Original file line number Diff line number Diff line change 2323#
2424# https://github.com/scop/bash-completion
2525
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+ )
2731
2832if [[ $- == * v* ]]; then
2933 _comp__init_original_set_v=" -v"
Original file line number Diff line number Diff line change 11AC_PREREQ ( [ 2.60] )
2- AC_INIT ( [ bash-completion] , [ 2.11.0] )
2+ AC_INIT ( [ bash-completion] , [ 2.11.0] ) dnl x-release-please-version
33dnl tar-pax for portable UTF-8 handling
44AM_INIT_AUTOMAKE ( [
55 foreign dist-xz no-dist-gzip tar-pax -Wall -Wno-portability -Werror
You can’t perform that action at this time.
0 commit comments