Skip to content

Commit

Permalink
fix: 🔥 properly remove upstream (inc makefile)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-pip committed Sep 30, 2024
1 parent 72c2a0f commit 4e26d72
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ development:: install_plugins provider lint_provider build_sdks install_sdks cle
build:: install_plugins provider build_sdks install_sdks
only_build:: build

upstream/.git:
@echo "Initializing upstream" ; \
git -c advice.detachedHead=false clone --depth 1 --branch 'v$(PROVIDER_VERSION)' 'https://github.com/GK-Consulting/terraform-provider-astronomer' upstream

tfgen:: install_plugins upstream/.git
tfgen:: install_plugins
(cd provider && go build -o $(WORKING_DIR)/bin/${TFGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${TFGEN})
$(WORKING_DIR)/bin/${TFGEN} schema --out provider/cmd/${PROVIDER}
(cd provider && VERSION=$(VERSION) go generate cmd/${PROVIDER}/main.go)
Expand Down
1 change: 0 additions & 1 deletion upstream
Submodule upstream deleted from fe057e

0 comments on commit 4e26d72

Please sign in to comment.