release-it 14.13.0 → 14.13.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/README.md CHANGED
@@ -323,7 +323,7 @@ While mostly used as a CLI tool, release-it can be used as a dependency to integ
323
323
  - [metalsmith/metalsmith](https://github.com/metalsmith/metalsmith)
324
324
  - [react-native-paper](https://github.com/callstack/react-native-paper)
325
325
  - [js-cookie/js-cookie](https://github.com/js-cookie/js-cookie)
326
- - [mirumee/saleor](https://github.com/mirumee/saleor)
326
+ - [saleor/saleor](https://github.com/saleor/saleor)
327
327
  - [mozilla/readability](https://github.com/mozilla/readability)
328
328
  - [redis/node-redis](https://github.com/redis/node-redis)
329
329
  - [shipshapecode/shepherd](https://github.com/shipshapecode/shepherd)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-it",
3
- "version": "14.13.0",
3
+ "version": "14.13.1",
4
4
  "description": "Generic CLI tool to automate versioning and package publishing related tasks.",
5
5
  "keywords": [
6
6
  "build",
@@ -47,10 +47,11 @@ 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 latestTag = plugin.config.getContext('latestTag');
50
51
  const changelog = (await plugin.getChangelog(latestVersion)) || null;
51
52
  const increment = getIncrement(plugin);
52
53
 
53
- plugin.config.setContext({ name, latestVersion, latestTag: latestVersion, changelog });
54
+ plugin.config.setContext({ name, latestVersion, latestTag, changelog });
54
55
 
55
56
  const { preRelease } = plugin.config.options;
56
57
  const isPreRelease = Boolean(preRelease);