Prebid Server uses regular versioning MAJOR.MINOR.PATCH-SNAPSHOT
where:
MAJORversion - increment when we make incompatible API changes.MINORversion - increment when we add functionality in backward compatible manner.PATCHversion - incremented when we make backward-compatible bug fixes.SNAPSHOTqualifier - considers "as-yet-unreleased" version.
-
When Prebid Server involves breaking changes
MAJORversion must be incremented. For example, current project version is1.17.3. So, next project version in this case will be2.0.0. -
When Prebid Server involves new features with backward compatibility
MINORversion must be incremented. For example, current project version is1.17.3. So, next project version in this case will be1.18.0. -
When Prebid Server involves bug fixes
PATCHversion must be incremented. For example, current project version in POM file is1.18.0-SNAPSHOTand previous release version was1.17.3. So, next release version in this case will be1.17.4and development version must be back to1.18.0-SNAPSHOT.
To set a project version and create a tag in remote repository maven release plugin can be used. For example:
mvn release:clean release:prepare -DreleaseVersion=1.17.0 -DdevelopmentVersion=1.18.0-SNAPSHOT
To validate modifications above command can be appended with -DdryRun=true flag. This will prevent any changes.