mirror of
https://github.com/netzbegruenung/keycloak-2fa-sms-authenticator.git
synced 2024-04-28 17:14:53 +02:00
Improve project and submodule versioning
This commit is contained in:
parent
6a9ac38770
commit
0db84128ae
|
@ -27,8 +27,9 @@ Deployment is done by github actions: `.github/workflows/release.yml`
|
|||
To trigger the release workflow be sure to have proper access rights and follow the steps below.
|
||||
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules#about-tag-protection-rules
|
||||
|
||||
1. Update revision property in parent POM file `pom.xml`
|
||||
1. `git tag -a v1.2.3 -m "Bump version 1.2.3"`
|
||||
1. `git push --tags`
|
||||
1. Update project and submodules version `mvn versions:set -DnewVersion=1.2.3; mvn versions:commit`
|
||||
1. Commit your changes
|
||||
1. Add tag to your commit `git tag -a v1.2.3 -m "Bump version 1.2.3"`
|
||||
1. Trigger the release by `git push --tags`
|
||||
|
||||
After building completes the new release is available on github containing the jar files for each module.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>keycloak-mfa-tools</artifactId>
|
||||
<groupId>netzbegruenung</groupId>
|
||||
<version>${revision}</version>
|
||||
<version>24.0.2</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<parent>
|
||||
<groupId>netzbegruenung</groupId>
|
||||
<artifactId>keycloak-mfa-tools</artifactId>
|
||||
<version>${revision}</version>
|
||||
<version>24.0.2</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>netzbegruenung</groupId>
|
||||
<artifactId>keycloak-mfa-tools</artifactId>
|
||||
<version>${revision}</version>
|
||||
<version>24.0.2</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>enforce-mfa</artifactId>
|
||||
|
|
3
pom.xml
3
pom.xml
|
@ -7,7 +7,7 @@
|
|||
<groupId>netzbegruenung</groupId>
|
||||
<artifactId>keycloak-mfa-tools</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>${revision}</version>
|
||||
<version>24.0.2</version>
|
||||
|
||||
<modules>
|
||||
<module>dev</module>
|
||||
|
@ -17,7 +17,6 @@
|
|||
</modules>
|
||||
|
||||
<properties>
|
||||
<revision>24.0.2</revision>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<keycloak.version>24.0.2</keycloak.version>
|
||||
<json.version>20230227</json.version>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<parent>
|
||||
<groupId>netzbegruenung</groupId>
|
||||
<artifactId>keycloak-mfa-tools</artifactId>
|
||||
<version>${revision}</version>
|
||||
<version>24.0.2</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
|
|
Loading…
Reference in a new issue