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 ""
|
||||
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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user