diff --git a/Makefile b/Makefile index d1cb213..9d33667 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ MAINTAINER_NAME = Jose Diaz-Gonzalez REPOSITORY = go-procfile-util HARDWARE = $(shell uname -m) SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]') -BASE_VERSION ?= 0.8.1 +BASE_VERSION ?= 0.8.2 IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY) PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish diff --git a/main.go b/main.go index 35c8c2d..6d4a931 100644 --- a/main.go +++ b/main.go @@ -201,7 +201,7 @@ func expandEnv(e procfileEntry, envPath string, allowEnv bool, defaultPort int) return os.Getenv("PS") } if key == portEnvVar { - return string(defaultPort) + return strconv.Itoa(defaultPort) } return "" }