Task summary
We have a nightly build workflow that builds a SNAPSHOT release in the night containing the latest changes from main branch. The general upgrade to such SNAPSHOT for testing and confirming a bug is fixed before the official release is done is automated via some command and documented here.
However, downloading a SNAPSHOT release manually e.g. for another OS to see if some expected file is included there or not is a little tricky.
We could either automate that as well or document it.
Since it seems to be rather an edge-case, I would simply extend the documentation section about testing SNAPSHOTs.
The general idea is to look in this file to find the latest SNAPSHOT version:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/maven-metadata.xml
Today it would be this:
<latest>2026.04.001-SNAPSHOT</latest>
Then we put that version into our URL like this:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/maven-metadata.xml
Now we can find the release artifact we are interested in e.g. mac-x64 and we compose the final URL via this pattern:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/${version.snapshot}/ide-cli-${version.value}-${version.classifier}.${version.extension}
Which in this example leads us to:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/ide-cli-2026.04.001-20260321.030716-2-mac-x64.tar.gz
Now, we can download the artifact, extract and test it.
Additional context
No response
Task summary
We have a nightly build workflow that builds a SNAPSHOT release in the night containing the latest changes from
mainbranch. The general upgrade to such SNAPSHOT for testing and confirming a bug is fixed before the official release is done is automated via some command and documented here.However, downloading a SNAPSHOT release manually e.g. for another OS to see if some expected file is included there or not is a little tricky.
We could either automate that as well or document it.
Since it seems to be rather an edge-case, I would simply extend the documentation section about testing SNAPSHOTs.
The general idea is to look in this file to find the latest SNAPSHOT version:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/maven-metadata.xml
Today it would be this:
Then we put that version into our URL like this:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/maven-metadata.xml
Now we can find the release artifact we are interested in e.g.
mac-x64and we compose the final URL via this pattern:Which in this example leads us to:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/ide-cli-2026.04.001-20260321.030716-2-mac-x64.tar.gz
Now, we can download the artifact, extract and test it.
Additional context
No response