aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d7fe209..09c4121 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,18 @@ install:
5 5
6clean: 6clean:
7 rm -rf vendor 7 rm -rf vendor
8
9release_version = $(shell git describe --tags --always)
10release_file = front_$(release_version).tar.gz
11folder = ~/.no_backup/projets/git.immae.eu/releases/cryptoportfolio/front
12
13build_release:
14 git archive HEAD -o $(release_file)
15 mv $(release_file) $(folder)
16 @echo "====== Version information ======"
17 @echo "$(release_version)"
18 @echo -n "sha256: "
19 @sha256sum $(folder)/$(release_file) | cut -d' ' -f1
20 @echo "================================="
21
22