A question about versions of our package that we want to publish in HPM; apologies if this is answered somewhere up in this long thread that I couldn't find.
Am I supposed to use the main/master git branch for all of the references in all of the config files? The examples that I can find mostly use main:
- The reference in a package manifest to the groovy file for the app/driver
- The reference in the repository file to the package manifest
- The reference in the canonical repositories.json to each repository
To me, it seems like at least 1 and maybe also 2 should reference versions: the package manifest should reference the git-tagged version of the groovy file corresponding to the manifest version, and the repository file should reference the newest git-tagged version of each package manifest. But that's not what I've seen when I looked a bit.
Can someone please confirm what best practices are? And, if you're so inclined, explain why as well? Thank you!