ember-deploy-tagging-git

1.0.1 • Public • Published

ember-deploy-tagging-git

Build Status

Uses git-repo-info to tag Ember deploy releases with readable information, like 1.0.5+165832f5.

The tag is version+sha, where version is either the git tag (if checked out) or the package.json version, and sha is the first 8 characters of the git commit hash.

Example usage:

  • git tag 2.1.3
  • git checkout 2.1.3
  • ember deploy

This will deploy an app with the index tag set to something like 2.1.3+ddaa74d.

Installation

  • Install with ember install ember-deploy-tagging-git

  • Edit your config/deploy.js to configure the adapter:

     
    // ...
    module.exports = {
      production: {
        store: { type: 'redis' },
        asserts: { type: 's3' },
        tagging: 'git-tag'
      }
    };

Developing the addon

  • npm install
  • npm test

Readme

Keywords

Package Sidebar

Install

npm i ember-deploy-tagging-git

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • alisdair