Skip to content

Commit 977b619

Browse files
author
Drew Yang
committed
test: 🧪 release flow
1 parent e7c10f8 commit 977b619

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

‎.github/workflows/release.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ jobs:
4848
echo "DJ_WHEEL_PATH=$(ls dist/datajoint-*.whl)" >> $GITHUB_ENV
4949
echo "DJ_SDIST_PATH=$(ls dist/datajoint-*.tar.gz)" >> $GITHUB_ENV
5050
echo "DJ_VERSION=$(grep -oP '\d+\.\d+\.\d+' datajoint/version.py)" >> $GITHUB_OUTPUT
51-
- name: Publish package
52-
run: |
53-
export HOST_UID=$(id -u)
54-
if [ "$TESTPYPI" == "true" ]; then
55-
export TWINE_REPOSITORY="testpypi"
56-
export TWINE_USERNAME=${TWINE_TEST_USERNAME}
57-
export TWINE_PASSWORD=${TWINE_TEST_PASSWORD}
58-
else
59-
export TWINE_REPOSITORY="pypi"
60-
fi
61-
docker compose run --build --quiet-pull \
62-
-e TWINE_USERNAME=${TWINE_USERNAME} \
63-
-e TWINE_PASSWORD=${TWINE_PASSWORD} \
64-
-e TWINE_REPOSITORY=${TWINE_REPOSITORY} \
65-
app sh -c "pip install twine && python -m twine upload dist/*"
51+
# - name: Publish package
52+
# run: |
53+
# export HOST_UID=$(id -u)
54+
# if [ "$TESTPYPI" == "true" ]; then
55+
# export TWINE_REPOSITORY="testpypi"
56+
# export TWINE_USERNAME=${TWINE_TEST_USERNAME}
57+
# export TWINE_PASSWORD=${TWINE_TEST_PASSWORD}
58+
# else
59+
# export TWINE_REPOSITORY="pypi"
60+
# fi
61+
# docker compose run --build --quiet-pull \
62+
# -e TWINE_USERNAME=${TWINE_USERNAME} \
63+
# -e TWINE_PASSWORD=${TWINE_PASSWORD} \
64+
# -e TWINE_REPOSITORY=${TWINE_REPOSITORY} \
65+
# app sh -c "pip install twine && python -m twine upload dist/*"
6666
# Drafts your next Release notes as Pull Requests are merged into "master"
6767
- name: Draft release notes
6868
id: create_gh_release

0 commit comments

Comments
 (0)