diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -44,11 +44,13 @@ mocktag: tag_and_push: - @if [[ "$(CURRENT_BRANCH)" != "master" ]]; then \ + @git commit -a -m "Creating Tag v$(v) at $(DATENOW) - $(m)" ;\ + + if [[ "$(CURRENT_BRANCH)" != "master" ]]; then \ git checkout master ;\ git merge $(CURRENT_BRANCH) ;\ fi - @git commit -a -m "Creating Tag v$(v) at $(DATENOW) - $(m)" ;\ + git tag v$(v) ;\ git push ;\ git push --tags ;\ |