ember-cli-deploy-git-tag
v0.2.1
Published
Tag Ember releases in git
Downloads
75
Maintainers
Readme
ember-cli-deploy-git-tag
An ember-cli-deploy plugin to tag deploys in git
This plugin tags each deploy in git.
What is an ember-cli-deploy plugin?
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.
Quick Start
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
Installation
Run the following command in your terminal:
ember install ember-cli-deploy-git-tag
ember-cli-deploy Hooks Implemented
For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.
didDeploy
Configuration Options
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
deployTag
A function to generate the tag
By default this will contain the environment and revision key prefixed with "deploy-", eg deploy-development-123abc
Prerequisites
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)
Running Tests
npm test