File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 java-version : ${{ matrix.java }}
2424
25+ - name : Get latest release tag
26+ id : latest_release
27+ run : |
28+ tag=$(curl -s https://api.github.com/repos/Staffbase/plugins-sdk-java/releases/latest | jq -r .tag_name)
29+ echo "tag_name=$tag" >> $GITHUB_OUTPUT
30+
2531 - name : Build with Maven
26- run : mvn -B package --file pom.xml
32+ run : mvn -B package --file pom.xml -Drevision=${{ steps.latest_release.outputs.tag_name }}
2733
2834 - name : Run UI tests
2935 run : make test
Original file line number Diff line number Diff line change 2525 <scm >
2626 <connection >scm:git:git://github.com/Staffbase/plugins-sdk-java.git</connection >
2727 <developerConnection >scm:git:ssh://github.com/Staffbase/plugins-sdk-java.git</developerConnection >
28- <url >http://github.com/Staffbase/plugins-sdk-java/tree/master </url >
28+ <url >http://github.com/Staffbase/plugins-sdk-java/tree/main </url >
2929 </scm >
3030 <developers >
3131 <developer >
7070 </repository >
7171 </distributionManagement >
7272 <properties >
73+ <revision >1.2.9</revision >
7374 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
7475 <java .version>1.8</java .version>
7576 <osgi .export>
You can’t perform that action at this time.
0 commit comments