Various improvements to the release process

This commit is contained in:
Emanuel Zienecker 2019-04-29 08:40:31 +02:00
parent 7b0a78dec3
commit 6de49bb872
2 changed files with 10 additions and 10 deletions

View File

@ -88,9 +88,7 @@ Now if you call the actuator endpoint `actuator/health` you should see the follo
Creating a new release involves the following steps: Creating a new release involves the following steps:
. `./mvnw -DenableSshAgent=true jgitflow:release-start jgitflow:release-finish` + . `./mvnw gitflow:release-start gitflow:release-finish`
[NOTE]
The `-DenableSshAgent=true` is only necessary, if you cloned the repository via SSH.
. `git push origin master` . `git push origin master`
. `git push --tags` . `git push --tags`
. `git push origin develop` . `git push origin develop`

16
pom.xml
View File

@ -25,7 +25,7 @@
<!-- Versions --> <!-- Versions -->
<junit.jupiter.version>5.3.2</junit.jupiter.version> <junit.jupiter.version>5.3.2</junit.jupiter.version>
<docker-maven-plugin.version>0.27.2</docker-maven-plugin.version> <docker-maven-plugin.version>0.27.2</docker-maven-plugin.version>
<jgitflow-maven-plugin.version>1.0-m5.1</jgitflow-maven-plugin.version> <gitflow-maven-plugin.version>1.12.0</gitflow-maven-plugin.version>
<spring-boot.version>2.1.3.RELEASE</spring-boot.version> <spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<spring.kafka.version>2.2.4.RELEASE</spring.kafka.version> <spring.kafka.version>2.2.4.RELEASE</spring.kafka.version>
@ -114,13 +114,15 @@
<version>${maven-surefire-plugin.version}</version> <version>${maven-surefire-plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>external.atlassian.jgitflow</groupId> <groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>jgitflow-maven-plugin</artifactId> <artifactId>gitflow-maven-plugin</artifactId>
<version>${jgitflow-maven-plugin.version}</version> <version>${gitflow-maven-plugin.version}</version>
<configuration> <configuration>
<autoVersionSubmodules>true</autoVersionSubmodules> <pushRemote>false</pushRemote>
<noDeploy>true</noDeploy> <gitFlowConfig>
<useReleaseProfile>false</useReleaseProfile> <developmentBranch>develop</developmentBranch>
</gitFlowConfig>
<versionDigitToIncrement>1</versionDigitToIncrement>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>