Skip to content

Commit 6b65c3e

Browse files
authored
Merge pull request #66 from CCPBioSim/jimboid-patch-1
switch to checking branch on remote
2 parents 59e16a5 + a5cac3b commit 6b65c3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if [ -z "$(git status --porcelain)" ]; then
4242
echo "no changes detected"
4343
else
44-
if [ -z "$(git branch --list version-updates)" ]; then
44+
if [ -z "$(git ls-remote --heads origin version-updates)" ]; then
4545
echo "no branch version-updates, creating"
4646
git checkout -b version-updates
4747
else

0 commit comments

Comments
 (0)