diff --git a/README.md b/README.md new file mode 100644 index 0000000..35e8d95 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# PS data update API + +## Developement + +### Release procedure + +Whenever a version is ready for release, run the following commands on the `main` brnahc (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 `2.0.0` : + +```bash +mvn release:prepare -DautoVersionSubmodules=true -DtagNameFormat=@{version} +git push +git push origin 2.0.0 +``` diff --git a/pom.xml b/pom.xml index bffbad6..c321df8 100644 --- a/pom.xml +++ b/pom.xml @@ -16,9 +16,7 @@ limitations under the License. --> - + 4.0.0 org.springframework.boot @@ -28,7 +26,7 @@ fr.ans.psc psc-api-maj-v2 - 2.0.1-SNAPSHOT + 2.0.2-SNAPSHOT psc-api-maj-v2 API for PS CRUD 2022-2023 @@ -39,7 +37,11 @@ 3.0.0 fr.ans.psc.PscApiMajApplication - + + + scm:git:${project.basedir} + HEAD + org.springframework.boot