ci(github): backport fetch-depth fix on apk-deploy checkout to release/1.0.6 #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/github-apk-checkout-fetch-depth-backport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backport du fix de PR #21 (
fix/workflow-checkout-fetch-depth, commit0fc3b81a) surrelease/1.0.6.Le tag
1.0.6pointe sur70a69779(tip derelease/1.0.6), où le checkout du jobapk-deployn'a pas les paramètresfetch-depth: 0, fetch-tags: true. Conséquence : GitVersion.MsBuild plante surMSB3073parce qu'il a besoin de l'historique git complet pour calculer la version.Le cherry-pick ajoute
with: { fetch-depth: 0, fetch-tags: true }aux deux jobs (apk-deployetvalidate-release), identique à PR #21.