Class PackageVersionFormatter

java.lang.Object
com.rm5248.debianpbuilder.PackageVersionFormatter

public class PackageVersionFormatter extends Object
Formats the name of a package depending on user-supplied input.
  • Method Details

    • formatPackageVersion

      public static String formatPackageVersion(String format, EnvVars envVars, int buildNumber)
      Format the package version based on the format.
      Parameters:
      format - The format to use
      envVars - The environment variables, used to get the SVN/GIT version
      buildNumber - The number of the build