Skip to content

Commit 7c90329

Browse files
committed
fix
1 parent 292213f commit 7c90329

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/push_version.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ then
77
git config --local user.email "[email protected]"
88
git add Cargo.toml
99
git commit --allow-empty -m "Bump version to $TRAVIS_TAG [skip ci]"
10-
git push https://${GITHUB_TOKEN}@github.com/maur1th/task_diff.git HEAD:master
10+
git remote set-url origin https://${GITHUB_TOKEN}@github.com/maur1th/task_diff.git
11+
git pull --rebase origin master
12+
git push origin HEAD:master
1113
fi

0 commit comments

Comments
 (0)