Skip to content
Snippets Groups Projects
CREATE_RELEASE.md 990 B
Newer Older
## Release WebGoat


### Version numbers

For WebGoat we use milestone releases first before we release the official version, we use `v8.0.0.M3` while tagging
 and 8.0.0.M3 in the `pom.xml`. When we create the final release we remove the milestone release and use 
Nanne Baars's avatar
Nanne Baars committed
 `v8.0.0` in the `pom.xml`
 
### Release notes:
Update the release notes with the correct version. Use `git shortlog -s -n --since "SEP 31 2019"` for the list of 
committers.

At the moment we use Gitflow, for a release you create a new release branch and take the following steps:

```
git checkout develop
git flow release start <version> 
git flow release publish

<<Make changes if necessary>>
Nanne Baars's avatar
Nanne Baars committed
<<Update RELEASE_NOTES.md>>

git flow release finish <version>
Nanne Baars's avatar
Nanne Baars committed
git push origin develop
Nanne Baars's avatar
Nanne Baars committed
git push origin main
git push --tags
Now Travis takes over and will create the release in Github and on Docker Hub.
NOTE: the `mvn versions:set` command above is just there to make sure the master branch contains the latest version