diff --git a/package.json b/package.json new file mode 100644 index 000000000..bf241824a --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "bun", + "version": "0.0.0", + "main": "index.js", + "repository": "git@github.com:uptrace/bun.git", + "author": "Vladimir Mihailenco ", + "license": "BSD-2-clause" +} diff --git a/scripts/release.sh b/scripts/release.sh index 189c3355e..14ee34aa4 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -58,6 +58,8 @@ do done sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go +sed --in-place "s/\(\"version\": \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./package.json + conventional-changelog -p angular -i CHANGELOG.md -s git checkout -b release/${TAG} master