diff --git a/README.md b/README.md new file mode 100644 index 0000000..0fd7ca0 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# PS identity toggle API + +## Developement + +### Release procedure + +Whenever a version is ready for release, run the following commands on the `main` branch (or on the maintenance branch if we're about to issue a production FIX). This should run on any shell, be it `bash`, `cmd` or if needed `gitbash`. + +```bash +mvn release:prepare -DautoVersionSubmodules=true -DtagNameFormat=@{version} +git push +git push origin +``` + +where `` stands for the new version. + +Eg to relase `0.0.2` : + +```bash +mvn release:prepare -DautoVersionSubmodules=true -DtagNameFormat=@{version} +git push +git push origin 0.0.2 +``` diff --git a/pom.xml b/pom.xml index 146749a..2c23138 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,5 @@ - + 4.0.0 pom @@ -10,11 +9,11 @@ org.springframework.boot spring-boot-starter-parent 2.6.2 - + fr.ans.psc toggle-manager - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT toggle-manager Component for toggling PsRef (link from one Ps.nationalId to another one) diff --git a/psc-toggle-manager/pom.xml b/psc-toggle-manager/pom.xml index 59164d1..8a03b37 100644 --- a/psc-toggle-manager/pom.xml +++ b/psc-toggle-manager/pom.xml @@ -16,19 +16,17 @@ limitations under the License. --> - + 4.0.0 toggle-manager fr.ans.psc - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT ../pom.xml psc-toggle-manager - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT psc-toggle-manager Component for toggling PsRef (link from one Ps nationalId to another one)