We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a986e66 commit cdee2d8Copy full SHA for cdee2d8
tools/gulp/release/release-git.task.js
@@ -50,5 +50,5 @@ gulp.task( 'release:git', gulp.series( [
50
* Read the package.json version (do not require, prevents cached results)
51
*/
52
function getPackageJsonVersion() {
53
- return JSON.parse( fs.readFileSync( `${ options.paths.package.path }${ options.paths.package.file }`, 'utf-8' ) ).version;
+ return JSON.parse( fs.readFileSync( 'package.json', 'utf-8' ) ).version;
54
}
0 commit comments