We have rather common Git workflow like it's described in this article. Now on our build server we would like to make build plans for develop, master and for the last release. The problem is that last release branch have different names in time (*release-**).
What are the ways to solve this problem? Is it possible to create alias with permanent name lastrelease that can be used by a build server? Anything else?