You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"$(cat $charm_dir/repo-info | sed -e 's/^/ /')"
), however, there is another place where we could add this metadata.
When 'charm push' is invoked, it tries to obtain commit information based on vcs-specific dot files in the current directory. For classic charms this seems to happen automatically as they are not pre-processed, for reactive this is not the case as they are built into a separate directory that does not contain a dot-file.
Having repo-info is a nice way to preserve commit hash information (
release-tools/push-and-release
Lines 109 to 111 in 3f6a0cd
When 'charm push' is invoked, it tries to obtain commit information based on vcs-specific dot files in the current directory. For classic charms this seems to happen automatically as they are not pre-processed, for reactive this is not the case as they are built into a separate directory that does not contain a dot-file.
https://git.io/vxPvs
Example:
charm show cs:keystone --all
The text was updated successfully, but these errors were encountered: