Skip to content

Commit f90da7b

Browse files
committed
always use master
1 parent e139c60 commit f90da7b

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

examples/justfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,11 @@ setup-westend-prerequisites:
4343

4444
cd $POLKADOT_SDK_DIR
4545

46-
# Check out the required branch or commit
46+
# Check out latest master
4747
echo " Fetching latest changes from polkadot-sdk..."
4848
git fetch origin
49-
50-
# Try to check out the branch, fall back to latest master if branch doesn't exist
51-
BRANCH_NAME="bko-bulletin-para-support"
52-
53-
if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
54-
echo " Checking out branch $BRANCH_NAME..."
55-
git reset --hard origin/$BRANCH_NAME
56-
else
57-
echo " ⚠ Branch $BRANCH_NAME not found, using latest master instead..."
58-
echo " TODO: later, before merging, switch to the \`bko-bulletin-support\` https://github.com/paritytech/polkadot-sdk/pull/10662 (not now)"
59-
git reset --hard origin/master
60-
fi
49+
echo " Checking out latest master..."
50+
git reset --hard origin/master
6151

6252
# Build polkadot binary
6353
echo " Building polkadot binary (this may take a while)..."

0 commit comments

Comments
 (0)