fix: always fetch all repository tags #266
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#266
Loading…
Reference in New Issue
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 release
fails 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
PullOptions
but then again,go-git
is just confusion from start to finish 😅 LGTM for now and glad to see this once patched up! Merge as you see fit.