Skip to content

Commit

Permalink
Merge pull request #678 from serokell/pasqu4le/chore-fix-update-tezos…
Browse files Browse the repository at this point in the history
…-script

[Chore] Fix baking package update in tezos update script
  • Loading branch information
krendelhoff2 authored and PruStephan committed Aug 2, 2023
2 parents 85521ea + 2dd6dba commit 2231052
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-bigsur-bottles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build BigSur bottles
on:
push:
branches:
- PruStephan/Remove_unnecessary_tezos_client_deps
jobs:
build-bottles:
name: Install and test binaries
runs-on: macos-11

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build tezos-client
run: |
brew install --formula ./Formula/tezos-sapling-params.rb
brew install $(brew deps --include-build --formula "./Formula/tezos-client.rb")
brew install --formula --build-bottle "./Formula/tezos-client.rb"
2 changes: 1 addition & 1 deletion Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
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 2231052

Please sign in to comment.