Skip to content

?= #672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged

?= #672

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOSTNAME := $(shell hostname)
S3_PREFIX := s3://rstudio-connect-downloads/connect/rsconnect-python

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

RUNNER = docker run \
-it --rm \
Expand Down Expand Up @@ -128,9 +128,8 @@ version:
# exported as a point of reference instead.
.PHONY: dist
dist:
$(eval CLEAN_VERSION := $(shell python -m setuptools_scm))
./scripts/temporary-rename
SETUPTOOLS_SCM_PRETEND_VERSION=$(CLEAN_VERSION) pip wheel --no-deps -w dist .
SETUPTOOLS_SCM_PRETEND_VERSION=$(VERSION) pip wheel --no-deps -w dist .
twine check $(BDIST_WHEEL)
rm -vf dist/*.egg
@echo "::set-output name=whl::$(BDIST_WHEEL)"
Expand Down
Loading