Skip to content

Commit f3f6d65

Browse files
authored
Merge pull request #1 from SectorLabs/deploy-button-fix
Use master for SOURCE_VERSION when building via Heroku deploy buttons
2 parents 1df15f8 + d7f2043 commit f3f6d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ echo "-----> Installed SSH key from GIT_SSH_KEY"
4848

4949
# checkout the revision that's being deployed
5050
git fetch -q --depth 1 origin -a > /dev/null
51-
git checkout -q $SOURCE_VERSION > /dev/null
51+
git checkout -q ${SOURCE_VERSION:-master} > /dev/null
5252
echo "-----> Fetched shallow history from $GIT_REPO_URL"
5353

5454
# initialize all the submodules

0 commit comments

Comments
 (0)