Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
2fcc6486
Unverified
Commit
2fcc6486
authored
Aug 04, 2020
by
Gao, Xiang
Committed by
GitHub
Aug 04, 2020
Browse files
Distribute source tarball and wheel to PyPI (#508)
* Distribute source and weel * trigger * fix
parent
f2bf5fb1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.github/workflows/deploy-pypi.yml
.github/workflows/deploy-pypi.yml
+1
-1
.github/workflows/deploy-test-pypi.yml
.github/workflows/deploy-test-pypi.yml
+1
-2
No files found.
.github/workflows/deploy-pypi.yml
View file @
2fcc6486
...
@@ -28,5 +28,5 @@ jobs:
...
@@ -28,5 +28,5 @@ jobs:
-
name
:
Deploy
-
name
:
Deploy
run
:
|
run
:
|
rm -rf dist/*
rm -rf dist/*
python setup.py
b
dist bdist_wheel
python setup.py
s
dist bdist_wheel
twine upload -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_pypi_password}} dist/*
twine upload -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_pypi_password}} dist/*
.github/workflows/deploy-test-pypi.yml
View file @
2fcc6486
...
@@ -29,8 +29,7 @@ jobs:
...
@@ -29,8 +29,7 @@ jobs:
pip install twine wheel
pip install twine wheel
-
name
:
Deploy
-
name
:
Deploy
run
:
|
run
:
|
[ ! -z "$GITHUB_HEAD_REF" ] && exit
rm -rf dist/*
rm -rf dist/*
git tag $(date +'v%Y.%m.%d.%H.%M.%S')
git tag $(date +'v%Y.%m.%d.%H.%M.%S')
python setup.py
b
dist bdist_wheel
python setup.py
s
dist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_test_pypi_password}} dist/*
twine upload --repository-url https://test.pypi.org/legacy/ -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_test_pypi_password}} dist/*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment