From 41a41afd1fbff5b3c669f6cdc31e48992451a3af Mon Sep 17 00:00:00 2001 From: William Kimball <30981667+wwkimball@users.noreply.github.com> Date: Sat, 24 Apr 2021 18:21:26 -0500 Subject: [PATCH] Test versions are RCs --- .github/workflows/python-publish-to-test-pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-publish-to-test-pypi.yml b/.github/workflows/python-publish-to-test-pypi.yml index b89ba05..fa08467 100644 --- a/.github/workflows/python-publish-to-test-pypi.yml +++ b/.github/workflows/python-publish-to-test-pypi.yml @@ -33,6 +33,7 @@ jobs: python -m pip install --upgrade setuptools wheel - name: Build Artifacts run: | + sed -r -e "s/(^__version__[[:space:]]*=[[:space:]]*)("'"'"[[:digit:]](\.[[:digit:]])+)"'"'"/\1\2.RC$(date "+%Y%m%d%H%M%S")"'"'"/" yamlpath/__init__.py python setup.py sdist bdist_wheel - name: Publish Artifacts uses: pypa/gh-action-pypi-publish@v1.4.2