Skip to content

Commit cdee2d8

Browse files
authored
fix(gulp): Fixed broken release task (#3)
- Fixed wrong path to the package.json file
1 parent a986e66 commit cdee2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gulp/release/release-git.task.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ gulp.task( 'release:git', gulp.series( [
5050
* Read the package.json version (do not require, prevents cached results)
5151
*/
5252
function getPackageJsonVersion() {
53-
return JSON.parse( fs.readFileSync( `${ options.paths.package.path }${ options.paths.package.file }`, 'utf-8' ) ).version;
53+
return JSON.parse( fs.readFileSync( 'package.json', 'utf-8' ) ).version;
5454
}

0 commit comments

Comments
 (0)