summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-06-09 03:00:23 -0400
committerBen Morrison <ben@gbmor.dev>2020-06-09 03:00:23 -0400
commit1e6f1de062771a59d45acd3f7c123c10285b2f3e (patch)
tree862996b310fddf328d93c0160af78f9d94b3b6a9
parent8d0f0b4e0d934d8af6c340d9e975e53bc43ab2c4 (diff)
downloadclinte-1e6f1de062771a59d45acd3f7c123c10285b2f3e.tar.gz
removed tag checkout when building
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7041eff..839fe6f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,6 @@ BINDIR?=$(_INSTDIR)/bin
 DBDIR?=$(_INSTDIR)/clinte
 
 clinte:
-	@printf "\n%s\n" "Checking out latest tag..."
-	git checkout $(git describe --tags --abbrev=0)
-
 	@printf "\n%s\n" "Building clinte. This may take a minute or two."
 	cargo build --release
 	@printf "\n%s\n" "...Done!"
@@ -24,10 +21,10 @@ update:
 
 	@printf "\n%s\n" "Updating from upstream repository..."
 	git pull --rebase
-	
+
 	@printf "\n%s\n" "Checking out latest tag..."
 	git checkout $(git describe --tags --abbrev=0)
-	
+
 	@printf "\n%s\n" "...Done!"
 
 .PHONY: install
@@ -39,7 +36,7 @@ install:
 	@printf "\n%s\n" "Copying files..."
 	install -m755 target/release/clinte $(BINDIR)
 	install -m666 clinte.json $(DBDIR)
-	
+
 	@printf "\n%s\n" "...Done!"
 
 .PHONY: upgrade