From 360a5141712dbe66be94049fceb9b6f3153b1f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6nnemann?= Date: Sat, 22 Aug 2015 21:36:07 +0200 Subject: [PATCH] feat: add fallbackTag functionality You can now map dist-tags onto "fallbackTags". E.g. if you want a development channel like "next" and no version is currently published as "next" semantic-release could fallback to "latest" to determine the new "next" version. You can specify your mappings by adding "fallbackTags" to your `package.json`'s "release" field. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 038e7a85..b0ff106e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@semantic-release/commit-analyzer": "^2.0.0", "@semantic-release/condition-travis": "^4.0.0", "@semantic-release/error": "^1.0.0", - "@semantic-release/last-release-npm": "^1.1.1", + "@semantic-release/last-release-npm": "^1.2.0", "@semantic-release/release-notes-generator": "^2.0.0", "git-head": "^1.2.1", "github": "^0.2.4",