This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 55361fb2d ORC-1963: Enforce Apache release profile with maven install
55361fb2d is described below
commit 55361fb2d7e0e773c651e8a4354c86a153baf61a
Author: William Hyun <[email protected]>
AuthorDate: Sat Jul 26 21:19:12 2025 -0700
ORC-1963: Enforce Apache release profile with maven install
### What changes were proposed in this pull request?
This PR aims to enforce `apache-release` profile with Maven install in CIs.
### Why are the changes needed?
To detect a release blocker as early as possible.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #2340 from williamhyun/apache-release.
Authored-by: William Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/publish_snapshot.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/publish_snapshot.yml
b/.github/workflows/publish_snapshot.yml
index eb6d77123..ccbc5fcf7 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -24,4 +24,6 @@ jobs:
run: |
cd java
echo
"<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>"
> settings.xml
+ # We should use local installation to test `apache-release` profile
+ ./mvnw --settings settings.xml -nsu -ntp -DskipTests install
-Papache-release
./mvnw --settings settings.xml -nsu -ntp -DskipTests deploy