diff --git a/.circleci/config.yml b/.circleci/config.yml index c0608d2..9a6291a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,13 @@ jobs: docker_layer_caching: true steps: - checkout - - run: make version + - run: + command: | + make version + if [[ "$CIRCLE_BRANCH" == "release" ]]; then + export PACKAGECLOUD_REPOSITORY=dokku/dokku + make .env.docker + fi - run: make circleci - run: make build-docker-image - run: @@ -25,8 +31,5 @@ jobs: command: | if [[ "$CIRCLE_BRANCH" == "release" ]]; then make release-in-docker - export PACKAGECLOUD_REPOSITORY=dokku/dokku - make release-packagecloud-in-docker - else - make release-packagecloud-in-docker fi + make release-packagecloud-in-docker diff --git a/Makefile b/Makefile index dab9fb9..c771694 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ MAINTAINER = josegonzalez MAINTAINER_NAME = Jose Diaz-Gonzalez REPOSITORY = go-procfile-util HARDWARE = $(shell uname -m) -BASE_VERSION ?= 0.1.1 +BASE_VERSION ?= 0.1.2 IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY) PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish