0.0.1 • Published 6 years ago

ember-cli-deploy-html-revision-tagging v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ember-cli-deploy-html-revision-tagging

An ember-cli-deploy plugin to tag the key generated from ember-cli-deploy-revision-data to your html file. It reads the tagVariable from your config file, and do a simple replacement to the same string in your html file with the revision key.

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:

Installation

Run the following command in your terminal:

ember install ember-cli-deploy-html-revision-tagging

ember-cli-deploy Hooks Implemented

For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.

  • didPrepare

Configuration Options

For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.

Defaults

ENV["html-revision-tagging"] = {
  tagVariable: '$ui-version'
}

Prerequisites

The following properties are expected to be present on the deployment context object: