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:
128
128
# exported as a point of reference instead.
129
129
.PHONY : dist
130
130
dist :
131
+ $(eval CLEAN_VERSION := $(shell python -m setuptools_scm) )
131
132
./scripts/temporary-rename
132
- pip wheel --no-deps -w dist .
133
+ SETUPTOOLS_SCM_PRETEND_VERSION= $( CLEAN_VERSION ) pip wheel --no-deps -w dist .
133
134
twine check $(BDIST_WHEEL )
134
135
rm -vf dist/* .egg
135
136
@echo " ::set-output name=whl::$( BDIST_WHEEL) "
Original file line number Diff line number Diff line change @@ -84,10 +84,6 @@ packages = ["rsconnect"]
84
84
85
85
[tool .setuptools_scm ]
86
86
write_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"
91
87
92
88
[tool .setuptools .package-data ]
93
89
rsconnect = [" py.typed" ]
You can’t perform that action at this time.
0 commit comments