소스 검색

Update publish.sh to rebase dev after publish.

Sasha Hilton 3 년 전
부모
커밋
bf44c8c170
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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."
 }