Is it possible to do a GIT clone on the a branch which name is the greatest in a sorted list given a specific prefix("release")? We have release branches like:
release/0.0.1
release/0.0.2
release/0.0.3
At the moment we have to specifically tell what branch to pull witch does not work with with the automated workflow we try to set up:
git clone -b release/0.0.3 --single-branch git@bitbucket.org:comp/proj.git /var/www/html #