DEV Community

Query Filter
Query Filter

Posted on

docker94

/*
 * --------------------------------------------------------------------------------
 * RPM VERSIONING & ARTIFACT IDENTITY POLICY
 * --------------------------------------------------------------------------------
 *
 * 1. ARTIFACT IDENTITY (Side-by-Side Installation)
 *    The Artifact ID is formatted as: CPLS-<AppVersion>-<AppRelease>
 *    Changing this ID (e.g., CPLS-9.1.94n-6 -> CPLS-9.2.94n-6) causes the system 
 *    to treat the build as a distinct RPM package. This ensures that previous 
 *    installations remain intact in their respective directories.
 *
 * 2. EMBEDDED METADATA
 *    Internal RPM version and release metadata default to '1'. This separates
 *    the logical "Package Identity" from the internal "Build Metadata."
 *
 * 3. RESOLUTION STRATEGY (Priority Order)
 *    Latest Version and Release strings are resolved as follows:
 *      a) CLI Parameters:  Highest priority (e.g., -PpkgVersion, -PpkgRelease)
 *      b) Properties File: Fallback to 'version.properties'
 *      c) Defaults:       Standard fallback is '0.0.0' and '0'
 *
 * 4. USAGE EXAMPLE
 *    Enforce versioning via Gradle CLI:
 *    ./gradlew buildRpm -PpkgVersion=9.1.94n -PpkgRelease=6
 * --------------------------------------------------------------------------------
 */
Enter fullscreen mode Exit fullscreen mode

Top comments (0)