mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update publish.sh to rebase dev after publish.
This commit is contained in:
parent
1cd69ab028
commit
bf44c8c170
1 changed files with 7 additions and 0 deletions
|
@ -89,12 +89,19 @@ function updateRepo {
|
||||||
git push origin v$1
|
git push origin v$1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function rebaseDev {
|
||||||
|
git checkout dev
|
||||||
|
git merge master
|
||||||
|
git push
|
||||||
|
}
|
||||||
|
|
||||||
function run {
|
function run {
|
||||||
switchBranch
|
switchBranch
|
||||||
updateVersion $1
|
updateVersion $1
|
||||||
commitAndTag $1
|
commitAndTag $1
|
||||||
publishCrates
|
publishCrates
|
||||||
updateRepo $1
|
updateRepo $1
|
||||||
|
rebaseDev
|
||||||
echo "Successfully published v$1 to crates.io and uploaded changes to repo."
|
echo "Successfully published v$1 to crates.io and uploaded changes to repo."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue