Package com.rm5248.debianpbuilder
Class PackageVersionFormatter
java.lang.Object
com.rm5248.debianpbuilder.PackageVersionFormatter
Formats the name of a package depending on user-supplied input.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatPackageVersion
(String format, EnvVars envVars, int buildNumber) Format the package version based on the format.
-
Method Details
-
formatPackageVersion
Format the package version based on the format.- Parameters:
format
- The format to useenvVars
- The environment variables, used to get the SVN/GIT versionbuildNumber
- The number of the build
-