Update daml-assistant to support new versioning #17553
Merged
+44
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since ~2.8.snapshot, the version of the daml sdk can differ from the version of the release (sometimes called the enterprise release)
As such, the path to the sdk is no longer
releases/tags/v$VERSION/daml-sdk-$VERSION-$OS.tar.gz
, but insteadreleases/tags/v$RELEASE_VERSION/daml-sdk-$SDK_VERSION-$OS.tar.gz
We still work with release versions via the assistant, so now we discover the sdk version by listing the files in the release and searching for the daml-sdk linux tarfile.
Related to: https://github.com/digital-asset/daml/pull/17550/files
Verified working via both github and artifactory.