In my script I need to create tags from specific refs on specific branches using git server API. What I'm trying to achive
I have two variables
branches="feature develop hotfix" refs="ref-for feature ref-for-develop ref-for-hotfix"
And I'm trying create api call with schema like this
curl -X POST <gitserverurl><feature><ref-for-feature><new-tag-name>
And so on for other branches. I've started to test loops (
for i in var ), but got nowhere. How could I archive this in bash?