Create tag before merging into major branch.
@@ -18,16 +18,16 @@ git add docs/
git commit -m "Documentation update for v$VERSION." || echo "No docs updated!"
git push
+echo "# Git tag & push..."
+git tag -a "v$VERSION" -m "v$VERSION"
+git push --tags
+
echo "Git update major branch..."
git checkout $MAJOR_BRANCH
git merge master
git push
git checkout master
-echo "# Git tag & push..."
-git tag -a "v$VERSION" -m "v$VERSION"
-git push --tags
-
echo "# Upload to pypi..."
# Clear build & dist
rm -rf build/* dist/*
