The
swift-5.1-branchis still versioned at5.1.1.
I was going to update these branches once swift-5.1-branch and master are open after the holiday break (Swift CI Holiday Schedule - #3 by mishal_shah).
I created two pull requests to update the version:
master - Bumping Swift version number to 5.1.2 by shahmishal · Pull Request #28513 · apple/swift · GitHub
swift-5.1-branch - [5.1] Bumping Swift version number to 5.1.2 by shahmishal · Pull Request #28514 · apple/swift · GitHub
Where did this branch come from? It is not from the
swift-5.1-branchor themaster.
To resolve the version issue for Swift 5.1.2, we made the fix on top of swift-5.1.2-RELEASE tag and created new toolchains.
Also the swift version string is still being hard coded in the
lib/Basic/Version.cppfile.
We hard code the tag info in lib/Basic/Version.cpp to display (swift-5.1.2-RELEASE). This makes it easier for us to know which tag the compiler was built from. However, we don't hard code this in the master or release branch.