-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the release script [skip ci] #4250
Conversation
Argument for the spark version of the final build and aggregation Signed-off-by: Tim Liu <timl@nvidia.com>
@@ -82,15 +83,15 @@ $DEPLOY_CMD -Durl=$SERVER_URL -DrepositoryId=$SERVER_ID \ | |||
# Distribution jar is a shaded artifact so use the reduced dependency pom. | |||
$DEPLOY_CMD -Durl=$SERVER_URL -DrepositoryId=$SERVER_ID \ | |||
$SRC_DOC_JARS \ | |||
-Dfile=$FPATH.jar -DgroupId=com.nvidia -DartifactId=$ART_ID -Dversion=$ART_VER -DpomFile=./dist/target/dependency-reduced-pom.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We removed the depednecy-reduce
script from dist pom.xml from branch-21.12, so not such ./dist/target/dependency-reduced-pom.xml
will be generated.
###### Choose the deploy command ###### | ||
|
||
if [ "$SIGN_FILE" == true ]; then | ||
# No javadoc and sources jar is generated for shade artifact only. Use 'sql-plugin' instead | ||
SQL_ART_ID=`mvn help:evaluate -q -pl $SQL_PL -Dexpression=project.artifactId -DforceStdout` | ||
SQL_ART_VER=`mvn help:evaluate -q -pl $SQL_PL -Dexpression=project.version -DforceStdout` | ||
JS_FPATH="${SQL_PL}/target/${SQL_ART_ID}-${SQL_ART_VER}" | ||
JS_FPATH="${SQL_PL}/target/spark${FINAL_AGG_VERSION_TOBUILD}/${SQL_ART_ID}-${SQL_ART_VER}" | ||
SRC_DOC_JARS="-Dsources=${JS_FPATH}-sources.jar -Djavadoc=${JS_FPATH}-javadoc.jar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I never realized we were doing this, it works but techinically not correct. I'll file a separate issue for that though to see if we want to handle differently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
build |
###### Choose the deploy command ###### | ||
|
||
if [ "$SIGN_FILE" == true ]; then | ||
# No javadoc and sources jar is generated for shade artifact only. Use 'sql-plugin' instead | ||
SQL_ART_ID=`mvn help:evaluate -q -pl $SQL_PL -Dexpression=project.artifactId -DforceStdout` | ||
SQL_ART_VER=`mvn help:evaluate -q -pl $SQL_PL -Dexpression=project.version -DforceStdout` | ||
JS_FPATH="${SQL_PL}/target/${SQL_ART_ID}-${SQL_ART_VER}" | ||
JS_FPATH="${SQL_PL}/target/spark${FINAL_AGG_VERSION_TOBUILD}/${SQL_ART_ID}-${SQL_ART_VER}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we append spark version to the target path since branch-21.12.
Argument for the spark version of the final build and aggregation Signed-off-by: Tim Liu <timl@nvidia.com>
Argument for the spark version of the final build and aggregation
Signed-off-by: Tim Liu timl@nvidia.com