This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hadoop-release-support.git

commit 2272ff28aa96438c152c98831f1cbc921f955527
Author: Steve Loughran <ste...@cloudera.com>
AuthorDate: Tue Mar 25 11:12:29 2025 +0000

    HADOOP-19483. add and execute 3p.git-tag-push task
---
 build.xml         | 18 ++++++++++++++++--
 doc/thirdparty.md | 12 +++++++++---
 2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/build.xml b/build.xml
index 24078f9..521b7cb 100644
--- a/build.xml
+++ b/build.xml
@@ -1678,13 +1678,13 @@ ${arm.asc}
       git log tags/${3p.tag.name}
 
       # how to push to apache
-      git push apache ${3p.tag.name}
+      git push origin ${3p.tag.name}
 
       # if needed, how to delete locally
       git tag -d ${3p.tag.name}
 
       # if needed, how to delete it from apache
-      git push --delete apache ${3p.tag.name}
+      git push --delete origin ${3p.tag.name}
 
       # tagging the final release
       git tag -s rel/release-${3p.version} -m "${3p.jira.id}. Hadoop 
Thirdparty ${3p.version} release"
@@ -1710,9 +1710,23 @@ ${arm.asc}
       <arg value="-v" />
       <arg value="${3p.tag.name}" />
     </git>
+  </target>
+
+
+  <target name="3p.git-tag-push"
+    description="push the 3p tag to apache repo"
+    depends="3p.init">
+    <require p="3p.local.repo.path" />
+    <require-dir path="${3p.local.repo.path}" />
 
+    <git dir="${3p.local.repo.path}">
+      <arg value="push" />
+      <arg value="origin" />
+      <arg value="${3p.tag.name}" />
+    </git>
   </target>
 
+
   <target name="3p.vote-message"
     depends="3p.init"
     description="build the vote message">
diff --git a/doc/thirdparty.md b/doc/thirdparty.md
index 1a9916f..51a8979 100644
--- a/doc/thirdparty.md
+++ b/doc/thirdparty.md
@@ -58,19 +58,25 @@ targets in the build to validate the third party release
 All targets are prefixed `3p.`
 
 ```
+> ant -p | grep 3p
+
+ 3p.git-tag-push                  push the 3p tag to apache repo
  3p.git-tag-source                tag the HEAD of thirdparty source with the 
current RC version
  3p.mvn-purge                     purge all local hadoop-thirdparty 
+ 3p.print-tag-command             print the git command to tag the rc
  3p.stage                         move artifacts of the local build to the 
staging area
- 3p.stage-to-svn                  stage the RC into svn
- 3p.vote-message                  build the vote message
  3p.stage-move-to-production      promote the staged the thirdparty RC into 
dist
  3p.stage-svn-rollback            rollback a thirdparty version staged to RC
- 3p.print-tag-command             print the git command to tag the rc
+ 3p.stage-to-svn                  stage the RC into svn
+ 3p.vote-message                  build the vote message
+
 ```
 
 Third party artifacts must be staged to the same svn repository as for
 staging full hadoop releases, as set in `staging.dir`
 
+### Tag and push
+
 
 ### Download the Staged RC files from the Apache http servers
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to