Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
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
faust group
faust
Commits
1a61db8e
Commit
1a61db8e
authored
4 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Automatize PYPI release on push-tag (only if whl pkg tests succeeded).
parent
ec13288a
Branches
Branches containing commit
Tags
3.0.1
Tags containing commit
No related merge requests found
Pipeline
#833983
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-0
26 additions, 0 deletions
.gitlab-ci.yml
with
26 additions
and
0 deletions
.gitlab-ci.yml
+
26
−
0
View file @
1a61db8e
...
@@ -13,6 +13,7 @@ stages:
...
@@ -13,6 +13,7 @@ stages:
-
test
-
test
-
pkg
-
pkg
-
pkg_test
-
pkg_test
-
pkg_pub
ctest
:
ctest
:
<<
:
*ctest_script
<<
:
*ctest_script
...
@@ -543,3 +544,28 @@ test_win_purepy_pkg:
...
@@ -543,3 +544,28 @@ test_win_purepy_pkg:
-
tags
-
tags
tags
:
tags
:
-
win10
-
win10
pypi_pub
:
stage
:
pkg_pub
script
:
-
python3 -m pip install --user twine
-
cd build/wrapper/python/dist/
-
find
-
NUX_WHL=$(ls *linux*x86_64.whl)
-
mv $NUX_WHL ${NUX_WHL%-*}-manylinux1_x86_64.whl
# proper format for pypi (just linux is not accepted)
-
TOKEN=$(echo $PYPI_TOKEN | base64 -d)
-
echo -e "__token__\n$TOKEN" | python3 -m twine upload *.whl
needs
:
-
job
:
pkg_macos_purepy_release
artifacts
:
true
-
job
:
pkg_linux_purepy_release
artifacts
:
true
-
job
:
pkg_win_purepy_release
artifacts
:
true
-
job
:
test_nux_purepy_release
-
job
:
test_win_purepy_pkg
-
job
:
test_macos_purepy_release
only
:
-
tags
tags
:
-
linux
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