Skip to content

Commit fab9121

Browse files
authored
Merge pull request #58 from Staffbase/auto-deploy-finish
chore: changed settings to allow auto version
2 parents 789b96e + df72c1e commit fab9121

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ jobs:
4949
gpg_passphrase: ${{ secrets.gpg_passphrase }}
5050
nexus_username: ${{ secrets.nexus_username }}
5151
nexus_password: ${{ secrets.nexus_password }}
52+
maven_profiles: "release"
53+
maven_args: >
54+
-Drevision=${{ github.event.release.tag_name }}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ test:
99
mvn test
1010

1111
deploy:
12-
mvn clean deploy -P release
12+
mvn -Drevision=${TAG} clean deploy -P release
1313

1414
doc: doc-clean
15-
mvn site
15+
mvn -Drevision=${TAG} site
1616
git checkout ${DOC_BRANCH}
1717
git rm --ignore-unmatch -r *
1818
cp -r ./${DOC_FOLDER}/* ./

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We provide our Plugin SDK via Maven Central Repository (https://repo1.maven.org/
1414
<dependency>
1515
<groupId>com.staffbase</groupId>
1616
<artifactId>plugins-sdk-java</artifactId>
17-
<version>1.2.3</version>
17+
<version>1.2.4</version>
1818
</dependency>
1919
```
2020

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.staffbase</groupId>
55
<artifactId>plugins-sdk-java</artifactId>
6-
<version>1.2.3</version>
6+
<version>${revision}</version>
77
<packaging>jar</packaging>
88
<name>
99
${project.groupId}:${project.artifactId}

0 commit comments

Comments
 (0)