Skip to content

Commit

Permalink
Up release to 1.2.0 (coredns#1958)
Browse files Browse the repository at this point in the history
Automatically submitted.
  • Loading branch information
miekg authored and corbot[bot] committed Jul 10, 2018
1 parent 3b9da82 commit 2306721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tar:
.PHONY: github-push
upload:
@echo Releasing: $(VERSION)
$(eval RELEASE:=$(shell curl -s -d '{"tag_name": "v$(VERSION)", "name": "v$(VERSION)"}' "https://api.github.com/repos/$(GITHUB)/$(NAME)/releases?access_token=${GITHUB_ACCESS_TOKEN}" | grep -m 1 '"id"' | tr -cd '[[:digit:]]'))
@$(eval RELEASE:=$(shell curl -s -d '{"tag_name": "v$(VERSION)", "name": "v$(VERSION)"}' "https://api.github.com/repos/$(GITHUB)/$(NAME)/releases?access_token=${GITHUB_ACCESS_TOKEN}" | grep -m 1 '"id"' | tr -cd '[[:digit:]]'))
@echo ReleaseID: $(RELEASE)
@for asset in `ls -A release`; do \
curl -o /dev/null -X POST \
Expand All @@ -111,7 +111,7 @@ docker-build: tar

.PHONY: docker-push
docker-push:
docker -u $(DOCKER_LOGIN) -p $(DOCKER_PASSWORD) || exit 1
@docker -u $(DOCKER_LOGIN) -p $(DOCKER_PASSWORD) || exit 1
@echo Pushing: $(VERSION) to $(DOCKER_IMAGE_NAME)
for arch in $(LINUX_ARCH); do \
docker push $(DOCKER_IMAGE_NAME):coredns-$$arch ;\
Expand Down
2 changes: 1 addition & 1 deletion coremain/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package coremain

// Various CoreDNS constants.
const (
CoreVersion = "1.1.4"
CoreVersion = "1.2.0"
coreName = "CoreDNS"
serverType = "dns"
)

0 comments on commit 2306721

Please sign in to comment.