Loading release-api.sh 0 → 100644 +20 −0 Changes for release-api.sh: 20 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # release-api.sh VERSION="$1" if [ -z "$VERSION" ]; then echo "Usage: ./release-api.sh v1.2.3" exit 1 fi echo "➡️ Génération split de /api pour version $VERSION..." git subtree split --prefix=api -b split-api echo "🏷️ Création du tag $VERSION sur split-api..." git tag -f "$VERSION" split-api echo "📤 Push du tag $VERSION vers origin..." git push origin "$VERSION" --force echo "✅ Release $VERSION terminée." Loading
release-api.sh 0 → 100644 +20 −0 Changes for release-api.sh: 20 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # release-api.sh VERSION="$1" if [ -z "$VERSION" ]; then echo "Usage: ./release-api.sh v1.2.3" exit 1 fi echo "➡️ Génération split de /api pour version $VERSION..." git subtree split --prefix=api -b split-api echo "🏷️ Création du tag $VERSION sur split-api..." git tag -f "$VERSION" split-api echo "📤 Push du tag $VERSION vers origin..." git push origin "$VERSION" --force echo "✅ Release $VERSION terminée."