Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flask-covid19
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Wöhlke
flask-covid19
Commits
49c2166e
Commit
49c2166e
authored
3 years ago
by
thomaswoehlke
Browse files
Options
Downloads
Patches
Plain Diff
asdf
parent
402d02fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/python-publish.yml
+0
-31
0 additions, 31 deletions
.github/workflows/python-publish.yml
build.sh
+8
-0
8 additions, 0 deletions
build.sh
with
8 additions
and
31 deletions
.github/workflows/python-publish.yml
deleted
100644 → 0
+
0
−
31
View file @
402d02fb
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name
:
Upload Python Package
on
:
release
:
types
:
[
created
]
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install setuptools wheel twine
-
name
:
Build and publish
env
:
TWINE_USERNAME
:
${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD
:
${{ secrets.PYPI_PASSWORD }}
run
:
|
python setup.py sdist bdist_wheel
twine upload dist/*
This diff is collapsed.
Click to expand it.
build.sh
+
8
−
0
View file @
49c2166e
...
...
@@ -36,10 +36,18 @@ function build_wheel() {
pip check
}
function
xyz
(){
python
-m
pip
install
--upgrade
pip
pip
install
setuptools wheel twine
python setup.py sdist bdist_wheel
# twine upload dist/*
}
function
main
()
{
# setup_venv
pip_compile
pip_install
xyz
# pip_install_via_setup_py
# build_wheel
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment