Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier to specify the "main" branch for tagging script #155

Open
tmadlener opened this issue Mar 17, 2022 · 1 comment
Open

Make it easier to specify the "main" branch for tagging script #155

tmadlener opened this issue Mar 17, 2022 · 1 comment

Comments

@tmadlener
Copy link
Contributor

The tagging script is geared towards master being the main branch of a repository. github has changed its default to main quite some time ago, and the tagging script can be used to target that, but it is a bit cumbersome, e.g.

ilcsofttagger.py --packages key4hep/k4SimDelphes/v00-01-08/main 

Ideally this would work the same as for repositories that have master as their main branch, where it is enough to do

ilcsofttagger.py --packages key4hep/k4SimDelphes

It is not a huge problem, but maybe we have some spare cycles to do this at some point.

@andresailer
Copy link
Contributor

Can get the default branch via the API: https://stackoverflow.com/a/16501903
So should be fairly easy to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants