Skip to content

Commit dcdffd2

Browse files
committed
fix: passing anvil to migrate script
1 parent 792592e commit dcdffd2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ jobs:
5858
ghcr.io/gearbox-protocol/periphery-v3
5959
tags: |
6060
type=ref,event=branch
61-
type=semver,pattern={{version}},value=${{ steps.semantic.outputs.new_release_git_tag }}
62-
type=semver,pattern={{major}},value=${{ steps.semantic.outputs.new_release_git_tag }}
61+
type=ref,event=tag
6362
6463
- name: Set up Docker Buildx
6564
uses: docker/setup-buildx-action@v3

script/migrate.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
ANVIL_URL=${1:-http://localhost:8545}
3+
if [ -z "$ANVIL_URL" ]; then
4+
ANVIL_URL="http://127.0.0.1:8545"
5+
fi
46

57
forge script script/V30Fix.sol:V30Fix --rpc-url ${ANVIL_URL} --unlocked --sender 0x0000000000000000000000000000000000000000 --ffi --broadcast
68
forge script script/V31Install.sol:V31Install --rpc-url ${ANVIL_URL} --broadcast

0 commit comments

Comments
 (0)