diff --git a/build-bookmarklet.sh b/build-bookmarklet.sh index 093b097..860d831 100755 --- a/build-bookmarklet.sh +++ b/build-bookmarklet.sh @@ -267,7 +267,12 @@ if [ $TEST_EXIT -ne 0 ]; then fi echo "✅ All build tests passed." -# === 5. Auto-tag and push === +# === 5. Commit, tag, and push === +echo "" +echo "=== Committing & Pushing ===" +git add -A +git commit -m "dist files for $VERSION built" --allow-empty + echo "" echo "=== Tagging $VERSION ===" if git rev-parse "$VERSION" >/dev/null 2>&1; then @@ -278,10 +283,6 @@ else echo "✅ Created tag: $VERSION" fi -echo "" -echo "=== Committing & Pushing ===" -git add -A -git commit -m "dist files for $VERSION built" --allow-empty git push git push origin --force tag "$VERSION" git push github --force tag "$VERSION"