forked from notapixelstudio/starship-olympics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 742 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This target is executed whenever we just type `make`
.DEFAULT_GOAL = help
FILE=VERSION
VERSION=`cat $(FILE)`
install-pip-tools:
pip install -U pip
pip install --upgrade pip-tools
install: install-pip-tools
pip install -r requirements.txt
echo-version:
$(call ndef,VERSION)
@echo $(VERSION)
fetch-tags:
git fetch --tags
changelog: install
cz changelog --unreleased-version $(VERSION)
# this will update the version, changelog, tag and commit
bump: fetch-tags install
cz bump
bump-minor: fetch-tags install
cz bump --increment MINOR
bump-major: fetch-tags install
cz bump --increment MAJOR
bump-patch: fetch-tags install
cz bump --increment PATCH
bump-alpha: fetch-tags install
cz changelog
cz bump --prerelease alpha