Skip to content

Commit 6aa09c5

Browse files
committed
Automate updating versions for next dev iteration
1 parent 259fb3a commit 6aa09c5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/update-versions-next-dev-iteration.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,32 @@ jobs:
5555
REVISION=$(mvn help:evaluate -Dexpression=langchain4j.beta.version -q -DforceStdout)
5656
echo "currentBetaVersion=$REVISION" >> $GITHUB_OUTPUT
5757
58-
- name: Update stable versions
58+
- name: Update beta versions
5959
run: |
6060
mvn versions:set \
61-
-DnewVersion=${{ env.NEXT_STABLE_VERSION }} \
62-
-DoldVersion=${{ steps.extract-current-stable.outputs.currentStableVersion }} \
61+
-DnewVersion=${{ env.NEXT_BETA_VERSION }} \
62+
-DoldVersion=${{ steps.extract-current-beta.outputs.currentBetaVersion }} \
6363
-DgroupId=* -DartifactId=* -DgenerateBackupPoms=false
6464
65-
- name: Update stable version property
65+
- name: Update beta version property
6666
run: |
6767
mvn versions:set-property \
68-
-Dproperty=langchain4j.stable.version \
69-
-DnewVersion=${{ env.NEXT_STABLE_VERSION }} \
68+
-Dproperty=langchain4j.beta.version \
69+
-DnewVersion=${{ env.NEXT_BETA_VERSION }} \
7070
-DgenerateBackupPoms=false
7171
72-
- name: Update beta versions
72+
- name: Update stable versions
7373
run: |
7474
mvn versions:set \
75-
-DnewVersion=${{ env.NEXT_BETA_VERSION }} \
76-
-DoldVersion=${{ steps.extract-current-beta.outputs.currentBetaVersion }} \
75+
-DnewVersion=${{ env.NEXT_STABLE_VERSION }} \
76+
-DoldVersion=${{ steps.extract-current-stable.outputs.currentStableVersion }} \
7777
-DgroupId=* -DartifactId=* -DgenerateBackupPoms=false
7878
79-
- name: Update beta version property
79+
- name: Update stable version property
8080
run: |
8181
mvn versions:set-property \
82-
-Dproperty=langchain4j.beta.version \
83-
-DnewVersion=${{ env.NEXT_BETA_VERSION }} \
82+
-Dproperty=langchain4j.stable.version \
83+
-DnewVersion=${{ env.NEXT_STABLE_VERSION }} \
8484
-DgenerateBackupPoms=false
8585
8686
- name: Commit and push changes

0 commit comments

Comments
 (0)