Skip to content

Commit d5a56ba

Browse files
authored
Merge pull request #231 from prometheus/beorn7/release
Cut v0.7.0
2 parents 9aef9ad + e88dc28 commit d5a56ba

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.7.0 / 2018-12-07
2+
3+
_As preparation for the 1.0.0 release, this release removes the long deprecated
4+
legacy HTTP push endpoint (which uses `/jobs/` rather than `/job/` in the URL)._
5+
6+
* [CHANGE] Remove legacy push API. #227
7+
* [ENHANCEMENT] Update dependencies. #230
8+
* [ENHANCEMENT] Support Go modules. #221
9+
* [BUGFIX] Avoid crash when started with v0.4 storage. #223
10+
111
## 0.6.0 / 2018-10-17
212

313
_Persistence storage prior to 0.5.0 is unsupported. Upgrade to 0.5.2 first for

Makefile.common

+8-5
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ common-test:
115115
.PHONY: common-format
116116
common-format:
117117
@echo ">> formatting code"
118-
GO111MODULE=$(GO111MODULE) $(GO) fmt $(GOOPTS) $(pkgs)
118+
GO111MODULE=$(GO111MODULE) $(GO) fmt $(pkgs)
119119

120120
.PHONY: common-vet
121121
common-vet:
@@ -140,8 +140,9 @@ else
140140
ifdef GO111MODULE
141141
@echo ">> running check for unused/missing packages in go.mod"
142142
GO111MODULE=$(GO111MODULE) $(GO) mod tidy
143+
ifeq (,$(wildcard vendor))
143144
@git diff --exit-code -- go.sum go.mod
144-
ifneq (,$(wildcard vendor))
145+
else
145146
@echo ">> running check for unused packages in vendor/"
146147
GO111MODULE=$(GO111MODULE) $(GO) mod vendor
147148
@git diff --exit-code -- go.sum go.mod vendor/
@@ -175,9 +176,11 @@ common-docker-tag-latest:
175176
promu: $(PROMU)
176177

177178
$(PROMU):
178-
curl -s -L $(PROMU_URL) | tar -xvz -C /tmp
179-
mkdir -v -p $(FIRST_GOPATH)/bin
180-
cp -v /tmp/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(PROMU)
179+
$(eval PROMU_TMP := $(shell mktemp -d))
180+
curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
181+
mkdir -p $(FIRST_GOPATH)/bin
182+
cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
183+
rm -r $(PROMU_TMP)
181184

182185
.PHONY: proto
183186
proto:

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0
1+
0.7.0

0 commit comments

Comments
 (0)