Skip to content

Commit 0053e60

Browse files
committed
ci: replace asciidoc variables during release
1 parent fb0f263 commit 0053e60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ jobs:
217217
run: |
218218
mvn --no-transfer-progress versions:set -DremoveSnapshot -DgenerateBackupPoms=false
219219
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" | tee -a $GITHUB_ENV
220+
sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ env.RELEASE_VERSION }}/g" README.adoc
221+
sed -i -e "s/^\:sqlite-version\:\ .*/:sqlite-version: $(sed "s/^.*=//" VERSION)/g" SECURITY.adoc
220222
# The sonatype maven plugin will decide the right destination depending on whether the project is SNAPSHOT or not
221223
- name: Publish to Apache Maven Central
222224
run: mvn --batch-mode --no-transfer-progress deploy -P release -DskipTests

0 commit comments

Comments
 (0)