-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·42 lines (37 loc) · 1.17 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
38
39
40
41
42
.PHONE: 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
@ lein build-xml
@ lein build-json
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
@ lein build-xml
@ lein build-json
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
@ lein build-xml
@ lein build-json
changelog/render:
$(info Rendering CHANGELOG...)
@ lein sealog render