diff --git a/scripts/release.sh b/scripts/release.sh index 906639e..4db5096 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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}"