Skip to content

Commit 6802926

Browse files
authored
Merge pull request #145 from Staffbase/NFS-3144_swirtching_to_main_branch
2 parents b44ecee + ade311b commit 6802926

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ jobs:
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

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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>
@@ -70,6 +70,7 @@
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>

0 commit comments

Comments
 (0)