An ember-cli-deploy plugin to tag deploys in git
This plugin tags each deploy in git.
A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.
For more information on what plugins are and how they work, please refer to the Plugin Documentation.
To get up and running quickly, do the following:
-
Ensure ember-cli-deploy-build is installed and configured.
-
Install this plugin
$ ember install ember-cli-deploy-git-tag
- Run the pipeline
$ ember deploy
Run the following command in your terminal:
ember install ember-cli-deploy-git-tag
For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.
didDeploy
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
A function to generate the tag
By default this will contain the environment and revision key prefixed with "deploy-", eg deploy-development-123abc
The following properties are expected to be present on the deployment context
object:
revisionData.revisionKey
(provided by ember-cli-deploy-revision-data)commandLineArgs.revisionKey
(provided by ember-cli-deploy)
npm test