This repository was archived by the owner on Feb 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 5656 - name : " Perform release"
5757 run : |
5858 ./perform-release.sh
59+ env :
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
3333git push origin ${CURRENT_BRANCH} --tags
3434
3535echo " Publish release javadoc ${RELEASE_VERSION} "
36- ./mvnw javadoc:aggregate scm-publish:publish-scm -Ppublish -site,javadoc-jdk-8u121 --no-transfer-progress
36+ ./mvnw javadoc:aggregate scm-publish:publish-scm -Pgh-publish -site,javadoc-jdk-8u121 --no-transfer-progress
Original file line number Diff line number Diff line change 599599 </plugins >
600600 </build >
601601 </profile >
602+ <profile >
603+ <id >gh-publish-site</id >
604+ <build >
605+ <plugins >
606+ <plugin >
607+ <!--
608+ mvn clean javadoc:aggregate scm-publish:publish-scm -P publish-site
609+ -->
610+ <groupId >org.apache.maven.plugins</groupId >
611+ <artifactId >maven-scm-publish-plugin</artifactId >
612+ <version >${maven-scm-publish-plugin.version} </version >
613+ <configuration >
614+ <checkoutDirectory >${project.build.directory} /javadoc-stage</checkoutDirectory >
615+ <checkinComment >publishing Javadoc for ${project.artifactId} :${project.version}
616+ </checkinComment >
617+ <content >${project.build.directory} /site</content >
618+ <skipDeletedFiles >false</skipDeletedFiles >
619+ <pubScmUrl >scm:git:https://oauth2:${env.GITHUB_TOKEN} @github.com/commercetools/commercetools-jvm-sdk.git</pubScmUrl >
620+ <scmBranch >gh-pages</scmBranch >
621+ </configuration >
622+ </plugin >
623+ </plugins >
624+ </build >
625+ </profile >
602626 <profile >
603627 <id >javadoc-jdk-8u121</id >
604628 <activation >
You can’t perform that action at this time.
0 commit comments