]> granicus.if.org Git - jq/commitdiff
Fix Appveyor for non-master branches 1353/head
authorNicolas Williams <nico@cryptonector.com>
Sun, 26 Feb 2017 22:13:22 +0000 (16:13 -0600)
committerNicolas Williams <nico@cryptonector.com>
Sun, 26 Feb 2017 22:13:22 +0000 (16:13 -0600)
appveyor.yml

index 519c9452358a3a55c154d4c8f0a540fa3fcdd883..d068dbf615d272fc7fea09491ed4e86f5db465a9 100644 (file)
@@ -7,7 +7,7 @@ environment:
 
 clone_script:
   - bash -lc "git clone -q --branch=$APPVEYOR_REPO_BRANCH https://github.com/${APPVEYOR_REPO_NAME}.git $APPVEYOR_BUILD_FOLDER"
-  - bash -lc "cd $APPVEYOR_BUILD_FOLDER && git checkout -qf $APPVEYOR_REPO_COMMIT"
+  - bash -lc "cd $APPVEYOR_BUILD_FOLDER && git checkout -qf $APPVEYOR_REPO_BRANCH"
   - bash -lc "cd $APPVEYOR_BUILD_FOLDER && git submodule update --init --recursive"
 
 install: