Sublime Forum

Force push tag

#1

Ability to force push tag is missing (or I can’t find it).

I use automated versioning for my apps from git tags. Every “release commit” is tagged with the desired version (for example 1.5.0). However I want all subsequent test builds to already use new version (for example 1.5.1). So after releasing I create new tag on the same commit as “current” one as placeholder and push it. This makes CI server to use this latest tag for setting the version. Then, before releasing new version, I delete the placeholder tag and re-create it again on the latest commit. But this requires me to force push and SM doesn’t support it, so I need to execute git push --force --tags in Terminal. Would be real nice if I could do it from SM

0 Likes

#2

You can always setup your own shortcut/command for this: Shortcut for git fetch

0 Likes

#3

Oh nice, wasn’t aware of this feature! It will do, thanks!

0 Likes