From e98799b55ce0be9ef9b4a5c114aaaa91371c8090 Mon Sep 17 00:00:00 2001 From: Luke Zilioli Date: Thu, 20 Oct 2016 01:52:01 -0500 Subject: [PATCH] add deprecation warning for this repo --- README.md | 6 ++++++ package.json | 1 + tasks/grunt-release.js | 1 + 3 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 1841d2f..96cc73a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # grunt-release +## DEPRECATION WARNING + +***PLEASE READ*** + +lzilioli/grunt-release will be deleted from GitHub on or after 2017-01-01. Please stop relying on it before that date + [![Build Status](https://travis-ci.org/geddski/grunt-release.svg?branch=master)](https://travis-ci.org/geddski/grunt-release) [![Dependency Status](https://david-dm.org/geddski/grunt-release.svg)](https://david-dm.org/geddski/grunt-release) [![devDependency Status](https://david-dm.org/geddski/grunt-release/dev-status.svg)](https://david-dm.org/geddski/grunt-release#info=devDependencies) diff --git a/package.json b/package.json index fc19b52..a728d11 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "author": "Dave Geddes", "license": "MIT", "dependencies": { + "depd": "^1.1.0", "shelljs": "^0.5.1", "semver": "^4.3.6", "superagent": "^1.2.0", diff --git a/tasks/grunt-release.js b/tasks/grunt-release.js index 016f807..d987145 100644 --- a/tasks/grunt-release.js +++ b/tasks/grunt-release.js @@ -13,6 +13,7 @@ var request = require('superagent'); var Q = require('q'); module.exports = function(grunt){ + require('depd')('lzilioli/grunt-release')('lzilioli/grunt-release will be deleted from GitHub on or after 2017-01-01. Please stop relying on it before that date.'); grunt.registerTask('release', 'Bump version, git tag, git push, npm publish', function(type){ function setup(file, type){