Code related to app versioning, holds current strategy for versioning
Code related to app versioning, holds current strategy for versioning
(correct-environment? app-dir environment)
Checks that the right environment is targeted for deploy according to our practices. So version for la should have optional qualifier and for production there should be no qualifier. Covers case that project branch version will be different because there was deploy to la and than to production.
Checks that the right environment is targeted for deploy according to our practices. So version for la should have optional qualifier and for production there should be no qualifier. Covers case that project branch version will be different because there was deploy to la and than to production.
(generate-new-app-version target-env app-dir app-name)
Based on break versioning.
Design decision: we update our version based on environment.
We use optional qualifier for version that is supposed to go to test environment.
E.g. 1.0.0 for la
env will have -la qualifier (1.0.0-la) repush of that version will be 1.0.0-2-la.
Version ready for production don't have optional qualifier.
Based on break versioning. Design decision: we update our version based on environment. We use optional qualifier for version that is supposed to go to test environment. E.g. 1.0.0 for `la` env will have -la qualifier (1.0.0-la) repush of that version will be 1.0.0-2-la. Version ready for production don't have optional qualifier.
(production? version)
Tells if version is a production one or test env
Tells if version is a production one or test env
(version-changed? app-dir repo target-branch)
Checks if current version in app-dir
is the same as in target-branch
Checks if current version in `app-dir` is the same as in `target-branch`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close