diff --git a/publish.sh b/publish.sh index 60663c4..9a74127 100755 --- a/publish.sh +++ b/publish.sh @@ -5,9 +5,9 @@ echo "Latest tag: " git describe --tags read -p 'Enter new semver string (e.g. "1.0.0"): ' VERSION -git merge master +git merge main git push -git checkout master +git checkout main git merge develop git tag -a "v${VERSION}" -m "${VERSION}" git push && git push --tag