Recently we moved our Db models (Sequelize) to a sperate repository, and we publish it using Github packages.
When we moved it to a sperate repository we found that we need to install different versions based on the environment (production/staging/develop)
eg:
- Production version requires v1.2,
- staging requires v1.3, etc.
Since we would like to avoid manually going into each dependent service and update the required version, we wanted to manage that using the dist-tags.
For we'd have package.json
pull package version tagged as "staging" and "production" according to the environment and we want to release a new version we would tag 1.3 for example as "production".
Unfortunately, dist-tags
don't seem to be supported on the GitHub registry so we are looking for other approaches.
Any suggestions?