Skip to content

Commit

Permalink
Merge pull request #115 from gunjan5/release-ma
Browse files Browse the repository at this point in the history
containerized release process
  • Loading branch information
gunjan5 authored Dec 15, 2016
2 parents 8196dc9 + 886a080 commit 19b0c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ endif
# Check that the version output appears on a line of its own (the -x option to grep).
# Tests that the "git tag" makes it into the binary. Main point is to catch "-dirty" builds
@echo "Checking if the tag made it into the binary"
docker run --rm calico/libnetwork-plugin -v | grep -x $(VERSION) || (echo "Reported version:" `dist/libnetwork-plugin -v` "\nExpected version: $(VERSION)" && exit 1)
docker run --rm calico/libnetwork-plugin -v | grep -x $(VERSION) || (echo "Reported version:" `docker run --rm calico/libnetwork-plugin -v` "\nExpected version: $(VERSION)" && exit 1)
docker tag calico/libnetwork-plugin calico/libnetwork-plugin:$(VERSION)
docker tag calico/libnetwork-plugin quay.io/calico/libnetwork-plugin:$(VERSION)
docker tag calico/libnetwork-plugin quay.io/calico/libnetwork-plugin
docker tag calico/libnetwork-plugin quay.io/calico/libnetwork-plugin:latest

@echo "Now push the tag and images. Then create a release on Github and attach the dist/libnetwork-plugin binary"
@echo "git push origin $(VERSION)"
Expand Down

0 comments on commit 19b0c89

Please sign in to comment.