conan-package-tools
conan-package-tools copied to clipboard
added support to create package alias #200
Changelog: (Feature | Fix | Bugfix): Describe here your pull request
- [ ] Refer to the issue that supports this Pull Request.
- [ ] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
- [ ] I've read the Contributing guide.
- [ ] I've followed the PEP8 style guides for Python code.
@boussaffawalid Could you explain why do you need this feature?
I think it is very handy to provide an alias to the latest built package. In our ci we deduct the conan package version from the git commit sha, which create a new package version for every commit.
For example:
- commit c1 will create a package pkg_name/1.0.0-c1@me/stable
- commit c2 will create a package pkg_name/1.0.0-c2@me/stable .....
The idea is to have an alias package pkg_name/latest@me/stable that always point to the latest package.
What do you think ?