mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
08b98602b1
Previously, we constructed the tarball used by daml-sdk-head by first building the regular SDK release tarball only to the extract it, patch the version file and recompress it. This adds about 30-60s to every invocation of daml-sdk-head. This PR changes this by factoring out the logic from building the release tarball into a macro that we instantiate twice, once with the proper version file and once with a dummy HEAD version file set to 0.0.0. This does change the format of the sdk-head-tarball slightly, in particular the files are now located under sdk-0.0.0 instead of sdk-head. However, this doesn’t matter anyway afaik and I think the new format makes more sense anyway considering that the regular release tarballs have something like sdk-0.13.38.
2 lines
6 B
Plaintext
2 lines
6 B
Plaintext
0.0.0
|