feat: Auto-push releases with --follow-tags
This commit is contained in:
parent
bd10f6533e
commit
aea21622f7
|
|
@ -186,7 +186,15 @@ git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
|
||||||
|
|
||||||
echo -e "${GREEN}✓ Commit & Tag erstellt${NC}"
|
echo -e "${GREEN}✓ Commit & Tag erstellt${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${BLUE}Nächste Schritte:${NC}"
|
echo -e "${BLUE}Pushe zu Remote...${NC}"
|
||||||
echo " git push && git push --tags"
|
|
||||||
|
# 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 ""
|
||||||
echo -e "${GREEN}✅ Release v${NEW_VERSION} fertig!${NC}"
|
echo -e "${GREEN}✅ Release v${NEW_VERSION} fertig!${NC}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user