release-it 14.12.0 → 14.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/test/github.js +2 -0
- package/test/util/index.js +1 -1
package/package.json
CHANGED
package/test/github.js
CHANGED
|
@@ -359,6 +359,7 @@ test('should skip checks', async t => {
|
|
|
359
359
|
|
|
360
360
|
test('should generate GitHub web release url', async t => {
|
|
361
361
|
const options = {
|
|
362
|
+
git,
|
|
362
363
|
github: {
|
|
363
364
|
pushRepo,
|
|
364
365
|
release: true,
|
|
@@ -384,6 +385,7 @@ test('should generate GitHub web release url', async t => {
|
|
|
384
385
|
|
|
385
386
|
test('should generate GitHub web release url for enterprise host', async t => {
|
|
386
387
|
const options = {
|
|
388
|
+
git,
|
|
387
389
|
github: {
|
|
388
390
|
pushRepo: 'git://my-custom-host.org:user/repo',
|
|
389
391
|
release: true,
|
package/test/util/index.js
CHANGED
|
@@ -47,7 +47,7 @@ module.exports.runTasks = async plugin => {
|
|
|
47
47
|
|
|
48
48
|
const name = (await plugin.getName()) || '__test__';
|
|
49
49
|
const latestVersion = (await plugin.getLatestVersion()) || '1.0.0';
|
|
50
|
-
const changelog = (await plugin.getChangelog()) || null;
|
|
50
|
+
const changelog = (await plugin.getChangelog(latestVersion)) || null;
|
|
51
51
|
const increment = getIncrement(plugin);
|
|
52
52
|
|
|
53
53
|
plugin.config.setContext({ name, latestVersion, latestTag: latestVersion, changelog });
|