Skip to content

Commit 6bbfbb6

Browse files
authored
?= (#672)
1 parent dac4e87 commit 6bbfbb6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HOSTNAME := $(shell hostname)
33
S3_PREFIX := s3://rstudio-connect-downloads/connect/rsconnect-python
44

55
PACKAGE_NAME ?= rsconnect_python
6-
BDIST_WHEEL := dist/$(PACKAGE_NAME)-$(VERSION)-py2.py3-none-any.whl
6+
BDIST_WHEEL ?= dist/$(PACKAGE_NAME)-$(VERSION)-py2.py3-none-any.whl
77

88
RUNNER = docker run \
99
-it --rm \
@@ -128,9 +128,8 @@ version:
128128
# exported as a point of reference instead.
129129
.PHONY: dist
130130
dist:
131-
$(eval CLEAN_VERSION := $(shell python -m setuptools_scm))
132131
./scripts/temporary-rename
133-
SETUPTOOLS_SCM_PRETEND_VERSION=$(CLEAN_VERSION) pip wheel --no-deps -w dist .
132+
SETUPTOOLS_SCM_PRETEND_VERSION=$(VERSION) pip wheel --no-deps -w dist .
134133
twine check $(BDIST_WHEEL)
135134
rm -vf dist/*.egg
136135
@echo "::set-output name=whl::$(BDIST_WHEEL)"

0 commit comments

Comments
 (0)