removed tag checkout when building

This commit is contained in:
Ben Morrison 2020-06-09 03:00:23 -04:00
parent 8d0f0b4e0d
commit 1e6f1de062
Signed by: gbmor
GPG Key ID: 8F192E4720BB0DAC
1 changed files with 3 additions and 6 deletions

View File

@ -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