Skip to content

Commit

Permalink
Fix incorrect module name in GoReleaser config
Browse files Browse the repository at this point in the history
Tidy up makefile
  • Loading branch information
alexhung committed Jul 3, 2024
1 parent 6c29d44 commit 5a0baa9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X github.com/jfrog/terraform-provider-mission-control/pkg/mc.Version={{.Version}}'
- '-s -w -X github.com/jfrog/terraform-provider-mission-control/pkg/missioncontrol.Version={{.Version}}'
goos:
- freebsd
- windows
Expand Down
4 changes: 0 additions & 4 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ SONAR_SCANNER_HOME?=${HOME}/.sonar/sonar-scanner-${SONAR_SCANNER_VERSION}-macosx
default: build

install: clean build
rm -fR .terraform.d && \
mkdir -p ${BUILD_PATH} && \
mv -v dist/terraform-provider-${PRODUCT}_${GORELEASER_ARCH}/terraform-provider-${PRODUCT}_v${NEXT_VERSION}* ${BUILD_PATH} && \
rm -f .terraform.lock.hcl && \
Expand All @@ -56,9 +55,6 @@ test:
@echo "==> Starting unit tests"
go test $(TEST) -timeout=30s -parallel=4

attach:
dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient attach $$(pgrep terraform-provider-${PRODUCT})

acceptance: fmt
export TF_ACC=true && \
go test -cover -coverprofile=coverage.txt -ldflags="-X '${PKG_VERSION_PATH}.Version=${NEXT_VERSION}-test'" -v -p 1 -parallel 20 -timeout 20m ./pkg/...
Expand Down

0 comments on commit 5a0baa9

Please sign in to comment.