Skip to content

Commit 1e9398d

Browse files
frangioernestognw
andauthored
rename REMOTE -> SUBMODULE_REMOTE
Co-authored-by: Ernesto García <[email protected]>
1 parent 17f7ce3 commit 1e9398d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/upgradeable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
- name: Transpile to upgradeable
3232
run: bash scripts/upgradeable/transpile-onto.sh ${{ github.ref_name }} origin/${{ github.ref_name }}
3333
env:
34-
REMOTE: https://github.com/${{ github.repository }}.git
34+
SUBMODULE_REMOTE: https://github.com/${{ github.repository }}.git
3535
- run: git push origin ${{ github.ref_name }}

scripts/upgradeable/transpile-onto.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ if git diff --quiet --cached; then
4141
exit
4242
fi
4343

44-
if [[ -v REMOTE ]]; then
44+
if [[ -v SUBMODULE_REMOTE ]]; then
4545
lib=lib/openzeppelin-contracts
46-
git submodule add -b "${base#origin/}" "$REMOTE" "$lib"
46+
git submodule add -b "${base#origin/}" "$SUBMODULE_REMOTE" "$lib"
4747
git -C "$lib" checkout "$commit"
4848
git add "$lib"
4949
fi

0 commit comments

Comments
 (0)