@lystech/core 3.0.78 → 3.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -90,7 +90,14 @@ jobs:
|
|
|
90
90
|
echo "⏭️ Aucun changement à committer"
|
|
91
91
|
else
|
|
92
92
|
git commit -m "chore: update ${{ github.event.inputs.package_name }} to ${{ github.event.inputs.version }} [skip ci]"
|
|
93
|
-
|
|
93
|
+
# Résiste à un push CONCURRENT arrivé pendant le build : rebase
|
|
94
|
+
# puis jusqu'à 3 tentatives (sinon rejet non-fast-forward et le
|
|
95
|
+
# job échoue alors que le déploiement, lui, est déjà parti).
|
|
96
|
+
for attempt in 1 2 3; do
|
|
97
|
+
git pull --rebase && git push && break
|
|
98
|
+
echo "⚠️ Push rejeté (tentative $attempt/3) — nouveau rebase…"
|
|
99
|
+
sleep 5
|
|
100
|
+
done
|
|
94
101
|
echo "✅ Changements committes et pushés"
|
|
95
102
|
fi
|
|
96
103
|
|