Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

When building locally, the version should be based on the last tag #7

Merged
merged 2 commits into from
May 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN buildDeps=' \
' \
set -x \
&& apk --no-cache add $buildDeps ca-certificates \
&& wget -O sherpa https://github.com/jrasell/sherpa/releases/download/${SHERPA_VERSION}/sherpa-linux-amd64 \
&& wget -O sherpa https://github.com/jrasell/sherpa/releases/download/v0.0.1/sherpa_0.0.1_linux_amd64 \
&& chmod +x /usr/bin/sherpa \
&& apk del $buildDeps \
&& echo "Build complete."
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tools: ## Install the tools used to test and build

build: ## Build Sherpa for development purposes
@echo "==> Running $@..."
govvv build -o sherpa ./cmd -version local -pkg github.com/jrasell/sherpa/pkg/build
govvv build -o sherpa ./cmd -version $(shell git describe --tags --abbrev=0 $(git rev-list --tags --max-count=1) |cut -c 2- |awk '{print $1}')+dev -pkg github.com/jrasell/sherpa/pkg/build

test: ## Run the Sherpa test suite with coverage
@echo "==> Running $@..."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Sherpa is a job scaler for [HashiCorp Nomad](https://www.nomadproject.io/) and a

## Download & Install

* The Sherpa binary can be downloaded from the [GitHub releases page](https://github.com/jrasell/sherpa/releases) using `curl -L https://github.com/jrasell/sherpa/releases/download/0.0.1/sherpa-linux-amd64 -o sherpa`
* The Sherpa binary can be downloaded from the [GitHub releases page](https://github.com/jrasell/sherpa/releases) using `curl -L https://github.com/jrasell/sherpa/releases/download/v0.0.1/sherpa_0.0.1_linux_amd64 -o sherpa`

* A docker image can be found on [Docker Hub](https://hub.docker.com/r/jrasell/sherpa/), the latest version can be downloaded using `docker pull jrasell/sherpa`.

Expand Down