File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,9 @@ version:
128128# exported as a point of reference instead.
129129.PHONY : dist
130130dist :
131+ $(eval CLEAN_VERSION := $(shell python -m setuptools_scm) )
131132 ./scripts/temporary-rename
132- pip wheel --no-deps -w dist .
133+ SETUPTOOLS_SCM_PRETEND_VERSION= $( CLEAN_VERSION ) pip wheel --no-deps -w dist .
133134 twine check $(BDIST_WHEEL )
134135 rm -vf dist/* .egg
135136 @echo " ::set-output name=whl::$( BDIST_WHEEL) "
Original file line number Diff line number Diff line change @@ -84,10 +84,6 @@ packages = ["rsconnect"]
8484
8585[tool .setuptools_scm ]
8686write_to = " rsconnect/version.py"
87- # since we dirty the state by transforming the file
88- # keep the version number consistent
89- version_scheme = " no-guess-dev"
90- local_scheme = " no-local-version"
9187
9288[tool .setuptools .package-data ]
9389rsconnect = [" py.typed" ]
You can’t perform that action at this time.
0 commit comments