Skip to content

Commit

Permalink
ci: replace asciidoc variables during release
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed May 12, 2023
1 parent fb0f263 commit 0053e60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ jobs:
run: |
mvn --no-transfer-progress versions:set -DremoveSnapshot -DgenerateBackupPoms=false
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" | tee -a $GITHUB_ENV
sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ env.RELEASE_VERSION }}/g" README.adoc
sed -i -e "s/^\:sqlite-version\:\ .*/:sqlite-version: $(sed "s/^.*=//" VERSION)/g" SECURITY.adoc
# The sonatype maven plugin will decide the right destination depending on whether the project is SNAPSHOT or not
- name: Publish to Apache Maven Central
run: mvn --batch-mode --no-transfer-progress deploy -P release -DskipTests
Expand Down

0 comments on commit 0053e60

Please sign in to comment.