Skip to content

Commit 165675d

Browse files
committed
fix: Grep for both release[/-] in the netlify-fetch Makefile target
1 parent 2c054b0 commit 165675d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ netlify-fetch:
4040
# fetch, because netlify does caching and we want to get the latest commits
4141
git fetch --all
4242
# checkout all release branches once, so we fetch the files
43-
for remote in $(shell git branch -r | grep release/); do \
43+
for remote in $(shell git branch -r | grep -E 'release[/-]'); do \
4444
git checkout --recurse-submodules "$${remote#origin/}" ; git pull; \
4545
done
4646
# go back to the initial commit to start the build

0 commit comments

Comments
 (0)