Skip to content

Commit e16408c

Browse files
author
Julien Ruaux
committed
fix: README.adoc project-version regex
1 parent c80d8e1 commit e16408c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
- name: Commit release version
136136
run: |
137137
VERSION=${{ inputs.version }}
138-
sed -i -e "s/^\:project-version\:\ +.*/:project-version: $VERSION/g" README.adoc
138+
sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
139139
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
140140
git config --global user.name "GitHub Action"
141141
git add pom.xml README.adoc

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: Commit release version
131131
run: |
132132
VERSION=${{ inputs.version }}
133-
sed -i -e "s/^\:project-version\:\ +.*/:project-version: $VERSION/g" README.adoc
133+
sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
134134
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
135135
git config --global user.name "GitHub Action"
136136
git add VERSION README.adoc

0 commit comments

Comments
 (0)