-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daml-sdk-head: add optional sha information (#7717)
daml-sdk-head: add optional sha information This PR add an option, `--sha`, to `daml-sdk-head` so that it produces a more accurate version number including the current git sha. The main consequence is that calling `daml-sdk-head --sha` take significantly longer than calling `daml-sdk-head`, because it needs to recompile everything that depends on the version number. > ## Wait, but why?? I started this work in support of an internal project that needed to test against unreleased, and possibly unmerged, daml versions. However, after further discussion I believe there is a better option for their use-case. I've decided to still open this PR because the work was done and there is no downside to it. It may still be useful if one wanted to be able to maintain more than one non-released local version of daml. CHANGELOG_BEGIN CHANGELOG_END
- Loading branch information
1 parent
6cbe001
commit f025dc3
Showing
2 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters