File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,29 +34,18 @@ jobs:
3434 with :
3535 node-version : " 18"
3636
37- - run : scripts/setup-signing-key.sh
38- env :
39- DECRYPTER : ${{ secrets.DECRYPTER }}
40- SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
41- PASSPHRASE : ${{ secrets.PASSPHRASE }}
42- GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }}
43- GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_PUBLISH_SECRET }}
44- - name : Build and Release
45- run : export VERSION="1.0.0-`date '+%Y%m%d%H%M%S'`"; ./gradlew -Pversion=$VERSION clean check publishMavenPublicationToSonatype closeAndReleaseSonatypeStagingRepository writeVersionToReadme
37+ - name : Build
38+ run : ./gradlew -Pversion=$VERSION clean check tools:cli-application:shadowJar
4639 env :
4740 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
4841 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
4942 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5043
51- - name : Commit and push api-reference to branch
52- uses : planetscale/ghcommit-action@v0.2.21
44+ - uses : ncipollo/release-action@v1
5345 with :
54- file_pattern : " scripts/install.sh"
55- repo : ${{ github.repository }}
56- branch : ${{ github.ref_name }}
57- commit_message : " TASK: Updating version in README"
58- env :
59- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ artifacts : " rmf-codegen.jar"
47+ allowUpdates : true
48+ name : " latest"
6049
6150 release_tag :
6251 permissions :
Original file line number Diff line number Diff line change 55CODEGEN_VERSION=${VRAP_VERSION:- " 1.0.0-20260626134234" }
66CLI_HOME=~ /.rmf-cli
77LIB_FOLDER=$CLI_HOME /lib
8- JAR_FILE_PATH=$LIB_FOLDER /codegen-cli- ${CODEGEN_VERSION} .jar
8+ JAR_FILE_PATH=$LIB_FOLDER /rmf- codegen-latest .jar
99SCRIPT_PATH=$CLI_HOME /codegen.sh
10- DOWNLOAD_LINK=https://repo1.maven.org/maven2/ com/commercetools/rmf/cli-application/ ${CODEGEN_VERSION} /cli-application- ${CODEGEN_VERSION} -all .jar
10+ DOWNLOAD_LINK=https://github. com/commercetools/rmf-codegen/releases/download/latest/rmf-codegen .jar
1111COMMAND_SYM_LINK=/usr/local/bin/rmf-codegen
1212
1313installVrapCli (){
You can’t perform that action at this time.
0 commit comments