-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): use multi-semantic-release
- Loading branch information
Showing
17 changed files
with
973 additions
and
1,627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/node_modules/@semantic-release/github/index.js b/node_modules/@semantic-release/github/index.js | ||
index fa549f0..7cf7f61 100644 | ||
--- a/node_modules/@semantic-release/github/index.js | ||
+++ b/node_modules/@semantic-release/github/index.js | ||
@@ -3,7 +3,6 @@ | ||
const {defaultTo, castArray} = require('lodash'); | ||
const verifyGitHub = require('./lib/verify'); | ||
const addChannelGitHub = require('./lib/add-channel'); | ||
-const publishGitHub = require('./lib/publish'); | ||
const successGitHub = require('./lib/success'); | ||
const failGitHub = require('./lib/fail'); | ||
|
||
@@ -28,15 +27,6 @@ async function verifyConditions(pluginConfig, context) { | ||
verified = true; | ||
} | ||
|
||
-async function publish(pluginConfig, context) { | ||
- if (!verified) { | ||
- await verifyGitHub(pluginConfig, context); | ||
- verified = true; | ||
- } | ||
- | ||
- return publishGitHub(pluginConfig, context); | ||
-} | ||
- | ||
async function addChannel(pluginConfig, context) { | ||
if (!verified) { | ||
await verifyGitHub(pluginConfig, context); | ||
@@ -64,4 +54,4 @@ async function fail(pluginConfig, context) { | ||
await failGitHub(pluginConfig, context); | ||
} | ||
|
||
-module.exports = {verifyConditions, addChannel, publish, success, fail}; | ||
+module.exports = {verifyConditions, addChannel, success, fail}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/multi-semantic-release/lib/multiSemanticRelease.js b/node_modules/multi-semantic-release/lib/multiSemanticRelease.js | ||
index 912a363..e651119 100644 | ||
--- a/node_modules/multi-semantic-release/lib/multiSemanticRelease.js | ||
+++ b/node_modules/multi-semantic-release/lib/multiSemanticRelease.js | ||
@@ -191,7 +191,7 @@ async function releasePackage(pkg, createInlinePlugin, multiContext, flags) { | ||
// Add the package name into tagFormat. | ||
// Thought about doing a single release for the tag (merging several packages), but it's impossible to prevent Github releasing while allowing NPM to continue. | ||
// It'd also be difficult to merge all the assets into one release without full editing/overriding the plugins. | ||
- options.tagFormat = name + "@${version}"; | ||
+ options.tagFormat = name + "-${version}"; | ||
|
||
// This options are needed for plugins that do not rely on `pluginOptions` and extract them independently. | ||
options._pkgOptions = pkgOptions; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.