Skip to content

Commit fd73c12

Browse files
committed
1
1 parent b088d67 commit fd73c12

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/re-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222

2323
- name: Checkout Code One Commit Before ${{ inputs.version_tag }}
2424
run: |
25+
cp Makefile /tmp/tmp-Makefile
2526
git fetch --prune --unshallow || true
2627
git checkout ${{ inputs.version_tag }}~1
2728
git tag -d ${{ inputs.version_tag }}
29+
cp -f /tmp/tmp-Makefile /tmp/tmp-Makefile
2830
2931
- name: Set up Java
3032
uses: actions/setup-java@v5

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,14 @@ release: .require-release-env
209209
@if [[ -n "${RELEASE_SKIP_TESTS}" ]]; then
210210
export MAVEN_OPTS="${MAVEN_OPTS} -DskipTests=true -DskipITs=true"
211211
fi
212-
$(MVNCMD) release:perform -Drelease.autopublish=true -Dgpg.passphrase=${GPG_PASSPHRASE} > >(tee /tmp/logs-stdout.log) 2> >(tee /tmp/logs-stderr.log)
212+
$(MVNCMD) release:perform -Drelease.autopublish=true -Dgpg.passphrase=${GPG_PASSPHRASE} > >(tee /tmp/java-driver-release-logs/stdout.log) 2> >(tee /tmp/java-driver-release-logs/stderr.log)
213213

214214
release-dry-run: .require-release-env
215215
@if [[ -n "${RELEASE_SKIP_TESTS}" ]]; then
216216
export MAVEN_OPTS="${MAVEN_OPTS} -DskipTests=true -DskipITs=true"
217217
fi
218-
$(MVNCMD) release:perform -Dgpg.passphrase=${GPG_PASSPHRASE} > >(tee /tmp/logs-stdout.log) 2> >(tee /tmp/logs-stderr.log)
218+
mkdir /tmp/java-driver-release-logs/ 2>/dev/null || true
219+
$(MVNCMD) release:perform -Dgpg.passphrase=${GPG_PASSPHRASE} > >(tee /tmp/java-driver-release-logs/stdout.log) 2> >(tee /tmp/java-driver-release-logs/stderr.log)
219220

220221
compile-all: .install-guava-shaded
221222
mvn -B compile test-compile -Dfmt.skip=true -Dclirr.skip=true -Danimal.sniffer.skip=true

0 commit comments

Comments
 (0)