Skip to content

Commit

Permalink
reference prerelease identifier in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdphillips committed Sep 1, 2017
1 parent 9dd2034 commit cb9ca23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ $(shell mkdir -p out)
# FPM
##
VERSION=$(shell cat version/version.txt)
PRERELEASE=$(shell cat version/prerelease.txt)
ITERATION=$(shell cat version/iteration.txt)
ARCHITECTURE=$(GOARCH)
DESCRIPTION="A monitoring framework that aims to be simple, malleable, and scalable."
Expand All @@ -34,7 +35,7 @@ URL="https://sensuapp.org"
BIN_SOURCE_DIR=target/$(GOOS)-$(GOARCH)

FPM_FLAGS = \
--version $(VERSION) \
--version $(VERSION)-$(PRERELEASE) \
--iteration $(ITERATION) \
--url $(URL) \
--license $(LICENSE) \
Expand Down

0 comments on commit cb9ca23

Please sign in to comment.