ga4gh / vrs-python

GA4GH Variation Representation Python Implementation
https://github.com/ga4gh/vrs
Apache License 2.0
51 stars 27 forks source link

cicd: fix release when multiple branches track same tag #384

Closed korikuzma closed 7 months ago

korikuzma commented 7 months ago

Our current approach can break when there are multiple branches that track the same tag:

$ echo $raw
origin/issue-380 origin/main origin/pypi-release-action origin/release origin/vcf-annotator-readme-update
$ branch=${raw##*/}
$ echo $branch
vcf-annotator-readme-update

@theferrit32 thanks for pointing out the multiple branches issue! I think this will fix the release action