Skip to content

Commit 775a125

Browse files
chore: address comments
1 parent b4dccef commit 775a125

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release-1.x.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,12 @@ jobs:
7676
# Technically, this goes against the main reason for doing a dry run; to eliminate potential problems.
7777
# But unless something catastrophic happened, PR checks on source branch already ensured that all tests pass.
7878
- name: Set release version and build release
79+
env:
80+
NEW_VERSION: ${{ inputs.version }}
81+
DRY_RUN: ${{ inputs.dryRun }}
7982
run: |
80-
./mvnw -Dfull versions:set -DnewVersion=${{ github.event.inputs.version }}
81-
./mvnw -Dfull deploy -DskipTests=${{ github.event.inputs.dryRun }} -DaltDeploymentRepository=local::default::file://`pwd`/target/staging-deploy
83+
./mvnw -Dfull versions:set -DnewVersion="$NEW_VERSION" -DgenerateBackupPoms=false
84+
./mvnw -Dfull deploy -DskipTests=$DRY_RUN -DaltDeploymentRepository=local::default::file://`pwd`/target/staging-deploy
8285
cp docs/target/antora.yml docs/src/antora.yml
8386
git add docs/src/antora.yml
8487
find . -name 'pom.xml' | xargs git add

0 commit comments

Comments
 (0)