-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (31 loc) · 1.06 KB
/
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
.PHONY: version/major version/minor version/patch changelog/render
MAKE = make
# These are the locations of the directories we'll use
TARGET_DIR = target
#
# These are the main targets that we'll be making
#
version/major:
$(info Updating major version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version major
@ lein change version leiningen.release/bump-version release
@ lein sealog bump major
@ lein pom
version/minor:
$(info Updating minor version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version minor
@ lein change version leiningen.release/bump-version release
@ lein sealog bump minor
@ lein pom
version/patch:
$(info Updating patch version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version patch
@ lein change version leiningen.release/bump-version release
@ lein sealog bump patch
@ lein pom
changelog/render:
$(info Rendering CHANGELOG...)
@ lein sealog render