Skip to content

Commit

Permalink
Fix testing-release.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
daneryl committed Aug 23, 2024
1 parent d19ca6b commit c800496
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/testing-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit c800496

Please sign in to comment.