devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
11 stars 23 forks source link

unique SNAPSHOT versions #791

Open hohwille opened 16 hours ago

hohwille commented 16 hours ago

in our nightly-build.yaml workflow, we should determine the current SNAPSHOT version and tweak it. My suggestion would be to replace SNAPSHOT with the current timestamp (e.g. date +%m_%d_%H) and the suffix -SNAPSHOT so 2024.12.001-beta-SNAPSHOT would become 2024.12.001-beta-12_21_12-SNAPSHOT (for the time of writing this). We do not need to modify any files but could pass this via-Drevision=${tweakedVersion}to the maven build command what should override therevisionfrommaven.config`.