From 7c90329426bd756a4685ba261b356e296a365e9d Mon Sep 17 00:00:00 2001 From: Thomas Maurin Date: Thu, 17 Jan 2019 01:16:11 +0100 Subject: [PATCH] fix --- scripts/push_version.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/push_version.sh b/scripts/push_version.sh index 2b2c3a0..2632cca 100755 --- a/scripts/push_version.sh +++ b/scripts/push_version.sh @@ -7,5 +7,7 @@ then git config --local user.email "travis@travis-ci.org" git add Cargo.toml git commit --allow-empty -m "Bump version to $TRAVIS_TAG [skip ci]" - git push https://${GITHUB_TOKEN}@github.com/maur1th/task_diff.git HEAD:master + git remote set-url origin https://${GITHUB_TOKEN}@github.com/maur1th/task_diff.git + git pull --rebase origin master + git push origin HEAD:master fi