Skip to content

Commit

Permalink
Merge tag 'v1.0-20240807' into develop
Browse files Browse the repository at this point in the history
new developer release
  • Loading branch information
bsorrentino committed Aug 7, 2024
2 parents 663daff + ee0fb02 commit 8f21139
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 6 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/deploy-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy New Version

on:
workflow_dispatch:
push:
branches:
- main
paths:
- '**/pom.xml'
jobs:
deploy:
runs-on: ubuntu-latest
name: deploy
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '8'
java-package: jdk
- name: Check for SNAPSHOT version
id: check-snapshot
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
if [[ $VERSION == *"-SNAPSHOT" ]]; then
echo "::set-output name=is_snapshot::true"
else
echo "::set-output name=is_snapshot::false"
fi
- name: Build and Deploy SNAPSHOT
if: steps.check-snapshot.outputs.is_snapshot == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B clean deploy --file pom.xml -s settings-template.xml
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '17'
java-package: jdk
- name: Build and Deploy SNAPSHOT
if: steps.check-snapshot.outputs.is_snapshot == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B -pl server-jetty clean deploy --file pom.xml -s settings-template.xml
2 changes: 1 addition & 1 deletion adaptive-rag/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>langgraph4j-adaptive-rag</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion agent-executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>langgraph4j-agent-executor</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-jdk8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>langgraph4j-core-jdk8</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion image-to-diagram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>langgraph4j-image-to-diagram</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>langgraph4j::parent</name>
Expand Down
2 changes: 1 addition & 1 deletion server-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.bsc.langgraph4j</groupId>
<artifactId>langgraph4j-parent</artifactId>
<version>1.0-beta1</version>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>langgraph4j-server-jetty</artifactId>
Expand Down

0 comments on commit 8f21139

Please sign in to comment.