pingtimeout commented on code in PR #2383:
URL: https://github.com/apache/polaris/pull/2383#discussion_r2538652236


##########
.github/workflows/release-3-build-and-publish-artifacts.yml:
##########
@@ -193,7 +193,7 @@ jobs:
           source "${LIBS_DIR}/_exec.sh"
 
           # Publish artifacts to staging repository
-          exec_process ./gradlew publishToApache closeApacheStagingRepository 
-Prelease -PuseGpgAgent --info > gradle_publish_output.txt 2>&1
+          exec_process ./gradlew publishToApache closeApacheStagingRepository 
-Prelease -PuseGpgAgent --info 2>&1 | tee gradle_publish_output.txt

Review Comment:
   I am kind of -1 on this syntax because I personally _always_ forget it and 
have to try `&>` and `>&`.  So even though `2>&1` is longer, it is a very 
common pattern that is easy to recognize.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to