Skip to content

Commit

Permalink
ci: improve Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed May 19, 2024
1 parent 482eccd commit 5581ca1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ docker_publish:

.PHONY: release
release:
git diff-index --quiet HEAD || { echo "untracked files! Aborting"; exit 1; }
git checkout develop
git checkout -b release/$(shell date +'%Y%m%d%H%m')
git push github release/$(shell date +'%Y%m%d%H%m')
git checkout develop


.PHONY: release-relay.md
release-relay.md:
git diff-index --quiet HEAD || { echo "untracked files! Aborting"; exit 1; }
git checkout relay.md/develop
git checkout -b release/$(shell date +'%Y%m%d%H%m')
Expand Down

0 comments on commit 5581ca1

Please sign in to comment.