fc-remote-invoke2/Makefile

27 lines
512 B
Makefile
Raw Permalink Normal View History

.PHONY: push
CURRENT_BRANCH_NAME := $(shell git symbolic-ref --short HEAD)
add:
git add .
commit: add
git-cz
rebase-main: commit
git pull --rebase origin master
push:
git push --force-with-lease origin $(CURRENT_BRANCH_NAME)
release-dev: push
-gh release delete dev -y
-git tag -d dev
-git push origin :refs/tags/dev
gh release create dev --notes "dev release" --target dev --title "Release dev"
roll-back-dev:
git reset --soft HEAD~1
git restore --staged publish.yaml
git restore publish.yaml