Skip to content

Commit

Permalink
Merge pull request #1 from SectorLabs/deploy-button-fix
Browse files Browse the repository at this point in the history
Use master for SOURCE_VERSION when building via Heroku deploy buttons
  • Loading branch information
Photonios authored May 18, 2017
2 parents 1df15f8 + d7f2043 commit f3f6d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo "-----> Installed SSH key from GIT_SSH_KEY"

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

# initialize all the submodules
Expand Down

0 comments on commit f3f6d65

Please sign in to comment.