Browse Source

Update publish.sh to rebase dev after publish.

Sasha Hilton 3 years ago
parent
commit
bf44c8c170
1 changed files with 7 additions and 0 deletions
  1. 7 0
      publish.sh

+ 7 - 0
publish.sh

@@ -89,12 +89,19 @@ function updateRepo {
   git push origin v$1
 }
 
+function rebaseDev {
+  git checkout dev
+  git merge master
+  git push
+}
+
 function run {
   switchBranch
   updateVersion $1
   commitAndTag $1
   publishCrates
   updateRepo $1
+  rebaseDev
   echo "Successfully published v$1 to crates.io and uploaded changes to repo."
 }