feat: Auto-push releases with --follow-tags

This commit is contained in:
Matthias Lotz 2025-11-29 17:47:01 +01:00
parent bd10f6533e
commit aea21622f7

View File

@ -186,7 +186,15 @@ git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
echo -e "${GREEN}✓ Commit & Tag erstellt${NC}"
echo ""
echo -e "${BLUE}Nächste Schritte:${NC}"
echo " git push && git push --tags"
echo -e "${BLUE}Pushe zu Remote...${NC}"
# Push mit --follow-tags (pusht Commit + zugehörige Tags)
if git push --follow-tags; then
echo -e "${GREEN}✓ Erfolgreich gepusht${NC}"
else
echo -e "${RED}⚠ Push fehlgeschlagen - bitte manuell pushen:${NC}"
echo " git push --follow-tags"
fi
echo ""
echo -e "${GREEN}✅ Release v${NEW_VERSION} fertig!${NC}"