I have “build” (copied code from II) some GitHub actions to build my Rust canisters in GitHub actions. The jobs run on releases and I attach the generated wasm to the artifacts of the release. Since the repo contains multiple canisters, it is possible that I create release without any changes to some.
That’s is why - better idea welcomed btw. - that I would like to automatically suffix the artifacts with their effective version number as provided in the toml
file.
Being really lame at bash
, I was asking my self if anyone as an existing script or command line to share that would extract such information?