ci/scripts/pushscript.sh in license_finder-5.3.0 vs ci/scripts/pushscript.sh in license_finder-5.4.0
- old
+ new
@@ -8,9 +8,13 @@
built_gem="pkg/license_finder-$build_version.gem"
git config --global user.email $GIT_EMAIL
git config --global user.name $GIT_USERNAME
+git config --global push.default simple
+
+git checkout master
+
mkdir ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
eval "$(ssh-agent -s)"
echo "$GIT_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa