diff --git a/Makefile b/Makefile index 1f8e55f2..e9a493c5 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK) VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.9.5 +JAVA_GEN_VERSION := v0.5.4 TESTPARALLELISM := 10 WORKING_DIR := $(shell pwd) diff --git a/scripts/upstream.sh b/scripts/upstream.sh index 7c1933f6..eddab76e 100644 --- a/scripts/upstream.sh +++ b/scripts/upstream.sh @@ -86,7 +86,11 @@ start_rebase() { fi git branch -f local - git checkout -B pulumi-patch "${FROM}" + if [ -n "$FROM" ]; then + git checkout -B pulumi-patch "$FROM" + else + git checkout -B pulumi-patch + fi git branch --set-upstream-to=local pulumi-patch for patch in ../patches/*.patch; do