File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments