Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs-feliks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Feliks Kiszkurno
ogs-feliks
Commits
d0c647e5
Unverified
Commit
d0c647e5
authored
7 months ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Fix publish wheels job.
parent
8f3d86d4
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
Applications/Python/ogs/__init__.py
+1
-0
1 addition, 0 deletions
Applications/Python/ogs/__init__.py
scripts/ci/jobs/build-wheels.yml
+2
-2
2 additions, 2 deletions
scripts/ci/jobs/build-wheels.yml
with
3 additions
and
2 deletions
Applications/Python/ogs/__init__.py
+
1
−
0
View file @
d0c647e5
...
@@ -10,4 +10,5 @@ if "PEP517_BUILD_BACKEND" in os.environ:
...
@@ -10,4 +10,5 @@ if "PEP517_BUILD_BACKEND" in os.environ:
if
config_spec
is
not
None
:
if
config_spec
is
not
None
:
from
.config
import
*
# noqa: F403
from
.config
import
*
# noqa: F403
else
:
else
:
print
(
os
.
environ
)
from
.config
import
*
# noqa: F403
from
.config
import
*
# noqa: F403
This diff is collapsed.
Click to expand it.
scripts/ci/jobs/build-wheels.yml
+
2
−
2
View file @
d0c647e5
...
@@ -77,7 +77,7 @@ publish wheels:
...
@@ -77,7 +77,7 @@ publish wheels:
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
-
when
:
never
-
when
:
never
script
:
script
:
-
pipx run build --sdist --outdir wheelhouse
-
PEP517_BUILD_BACKEND=1
pipx run build --sdist --outdir wheelhouse
-
>
-
>
pipx run twine upload
pipx run twine upload
${PYPI_REPO}
${PYPI_REPO}
...
@@ -92,7 +92,7 @@ publish wheels to pypi (dev):
...
@@ -92,7 +92,7 @@ publish wheels to pypi (dev):
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
when
:
manual
when
:
manual
script
:
script
:
-
pipx run build --sdist --outdir wheelhouse
-
PEP517_BUILD_BACKEND=1
pipx run build --sdist --outdir wheelhouse
-
>
-
>
pipx run twine upload --repository pypi
pipx run twine upload --repository pypi
--username __token__ --password ${PYPI_TOKEN}
--username __token__ --password ${PYPI_TOKEN}
...
...
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