G-d willing
Hello,
I would like to use the debug
function to print the package’s version from its daml.yaml
file.
How can I do that?
G-d willing
Hello,
I would like to use the debug
function to print the package’s version from its daml.yaml
file.
How can I do that?
I cannot think of a built-in way to accomplish this.
Do you need this from a choice implementation? Or from Daml Script?
What about hardcoding a version identifier into the Daml code? And updating it with each release?
G-d willing
Thanks @WallaceKelly for your response.
Well, I need that from within a choice.
This is related to some upgrade’s coding related to SCU
As for hardcoding, I thought about that, and I planned on doing it that way if there wasn’t any other way.