diff --git a/scripts/testing-release.sh b/scripts/testing-release.sh index 2762ccad89..267500a8ce 100755 --- a/scripts/testing-release.sh +++ b/scripts/testing-release.sh @@ -10,7 +10,8 @@ release_version="$(yarn version | grep version: | cut -d" " -f4 | cut -d"-" -f1) # echo -e "## What's changed\n\n$release_notes\n\n**Full Changelog**: https://github.com/huridocs/uwazi/compare/$previous_tag...$release_version" > release_notes.txt -new_version=$release_version sed -i -r 's/(.*)("version")(:\s+)(.*)/echo "\1\\"\2\\"\3\\"$new_version\\""/ge' ./prod/package.json + +new_version=$release_version sed -i -r 's/(.*)("version")(:\s+)(.*)/echo "\1\\"\2\\"\3\\"$new_version\\","/ge' ./prod/package.json tar -czf uwazi_testing_release.tgz ./prod # --notes-file release_notes.txt\