Skip to content

Commit 739b81b

Browse files
committed
allow patched publish
1 parent 1ea440d commit 739b81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default:
44
@echo "\"just publish\"?"
55

66
publish:
7-
@if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi
7+
@if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] && [ "$(git rev-parse --abbrev-ref HEAD)" != "patched" ]; then exit 1; fi
88
gh release create "v{{version}}"
99
flit publish
1010

0 commit comments

Comments
 (0)