mathis-tryla / z-devsecops-cloud

Zenika Lille - Mathis - end-of-study internship 2023
0 stars 0 forks source link

Version images env-intern registry #93

Open mathis-tryla opened 1 year ago

mathis-tryla commented 1 year ago
MVN_VERSION=$(mvn -q \
    -Dexec.executable=echo \
    -Dexec.args='${project.version}' \
    --non-recursive \
    exec:exec)
mvn -q build-helper:parse-version versions:set \
            -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT \
            versions:commit