In Gitlab-CI, the escaping is... a lil wonky.
The To-Be-Continuous project has a Semantic-Release plugin. Their Docs here point out the way to escape the tagFormat as "$${version}"
"$${version}"
Hope that helps! 🐺W