Skip to content

Commit

Permalink
build: remove tools for old release process
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Feb 6, 2018
1 parent 7dd0373 commit 4b4ad2f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 116 deletions.
26 changes: 9 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ help:
@echo "gofmt - go fmt"
@echo "vet - go vet"
@echo "linux - go build linux/amd64"
@echo "release - build/release.sh"
@echo "gorelease - goreleaser"
@echo "homebrew - build/homebrew.sh"
@echo "buildpkg - build/build.sh"
@echo "release - tag, build and publish release with goreleaser"
@echo "pkg - build, test and create pkg/fabio.tar.gz"
@echo "clean - remove temp files"

Expand Down Expand Up @@ -89,13 +86,13 @@ pkg: build test
mkdir pkg
tar czf pkg/fabio.tar.gz fabio

# release executes a release
# this is deprecated since I'm switching to goreleaser
release: preflight test
build/release.sh

# ship executes the steps for a release with goreleaser
ship: preflight test gorelease homebrew docker-aliases
# release tags, builds and publishes a build with goreleaser
#
# Run this in sub-shells instead of dependencies so that
# later targets can pick up the new tag value.
release:
$(MAKE) tag
$(MAKE) preflight test gorelease homebrew docker-aliases

# preflight runs some checks before a release
preflight:
Expand All @@ -116,11 +113,6 @@ gorelease:
homebrew:
build/homebrew.sh $(LAST_TAG)

# docker builds the docker containers and publishes them
# this is deprecated since goreleaser should handle that
docker:
build/docker.sh $(VERSION)-$(GOVERSION)

# docker-aliases creates aliases for the docker containers
# since goreleaser doesn't handle that properly yet
docker-aliases:
Expand All @@ -147,4 +139,4 @@ clean:
rm -rf pkg dist fabio
find . -name '*.test' -delete

.PHONY: build buildpkg clean docker gofmt homebrew install linux pkg release test vendorfmt vet
.PHONY: build clean docker gofmt homebrew install linux pkg release test vendorfmt vet
20 changes: 0 additions & 20 deletions build/build.sh

This file was deleted.

49 changes: 0 additions & 49 deletions build/docker.sh

This file was deleted.

30 changes: 0 additions & 30 deletions build/release.sh

This file was deleted.

0 comments on commit 4b4ad2f

Please sign in to comment.