File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33set -uex
44
5- DAPR_JAVA_SDK_VERSION= $1
6- # replace the major version of DAPR_JAVA_SDK_VERSION with 0 while in alpha
7- DAPR_WORKFLOW_SDK_VERSION= $( echo $DAPR_JAVA_SDK_VERSION | sed -E " s/ [0-9]+\.(.*?) /0.\1/ " )
5+ # The workflows sdk tracks the regular SDK minor and patch versions, just not the major.
6+ # Replaces the workflows SDK major version to 0 until it is stable.
7+ DAPR_JAVA_WORKFLOWS_SDK_VERSION= ` echo $DAPR_JAVA_SDK_VERSION | sed ' s/^ [0-9]*\. /0./ ' `
88
99mvn versions:set -DnewVersion=$DAPR_JAVA_SDK_VERSION
1010mvn versions:set-property -Dproperty=dapr.sdk.version -DnewVersion=$DAPR_JAVA_SDK_VERSION -f sdk-tests/pom.xml
1111
12- mvn versions:set -DnewVersion=$DAPR_WORKFLOW_SDK_VERSION -f sdk-workflows/pom.xml
13- mvn versions:set-property -Dproperty=dapr.sdk-workflows.version -DnewVersion=$DAPR_WORKFLOW_SDK_VERSION
12+ mvn versions:set -DnewVersion=$DAPR_JAVA_WORKFLOWS_SDK_VERSION -f sdk-workflows/pom.xml
13+ mvn versions:set-property -Dproperty=dapr.sdk-workflows.version -DnewVersion=$DAPR_JAVA_WORKFLOWS_SDK_VERSION
14+
15+ git clean -f
You can’t perform that action at this time.
0 commit comments