fix: always fetch all repository tags #266
Reference in New Issue
Block a user
No description provided.
Delete Branch "moritz/abra:fetch_tags"
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?
I have encountered problems several times when upgrading, always when the tags were subsequently updated. This happens for example if
abra recipe releasefails and changes are pushed manually without pushing the tags.It can be resolved by manually fetching the tags
git pull --tags.But for the automatic updater this would break the whole process.
My proposed fix is to just always fetch the tags when pulling the repository.
Strange to see there is no tags fetching option on
PullOptionsbut then again,go-gitis just confusion from start to finish 😅 LGTM for now and glad to see this once patched up! Merge as you see fit.