Skip to content

Commit

Permalink
[Chore] Fix baking package update in tezos update script
Browse files Browse the repository at this point in the history
Problem: a recent change to the update_tezos.sh script breaks it,
due to an incorrect path being used in a 'sed' invocation.
See #658

Solution: Use the correct path to fix the script.
  • Loading branch information
pasqu4le committed Jul 19, 2023
1 parent 85521ea commit 2dd6dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-tezos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if [[ "$latest_upstream_tag" != "$our_tezos_tag" ]]; then

sed -i 's/"release": "[0-9]\+"/"release": "1"/' ./meta.json
# Update version of tezos-baking package
sed -i "s/version = .*/version = \"$latest_upstream_tag\"/" ./code/pyproject.toml
sed -i "s/version = .*/version = \"$latest_upstream_tag\"/" ./baking/pyproject.toml
# Commit may fail when release number wasn't updated since the last release
git commit -a -m "[Chore] Reset release number for $latest_upstream_tag" --gpg-sign="[email protected]" || \
echo "release number wasn't updated"
Expand Down

0 comments on commit 2dd6dba

Please sign in to comment.