timbertson / autorelease-tagger-action

Generate & tag versions based on git history
3 stars 4 forks source link

Feat: support shallow repos #3

Open timbertson-zd opened 3 years ago

timbertson-zd commented 3 years ago

compute-tag uses the github API to search for tags, rather than requiring all tags to be present locally:

https://github.com/zendesk/compute-tag/blob/c60e46ca4548d6afdad82160e296b675758ea8c8/action.js#L143-L175

We should either:

timbertson-zd commented 3 years ago

In particular I want to make sure this keeps working:

https://github.com/timbertson/autorelease-tagger-action/blob/4b43cdbd14e37a49e5ae8f60b533d3530fbbf21b/lib.js#L348-L350

(but maybe the correct behavior isn't even clear, and we should instead pick the highest numbered reachable tag from either parent 🤔 )