Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
99d4e626
Commit
99d4e626
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Swap doc/package deployment order so it works for new packages
parent
081eabd9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab/deploy.sh
+5
-5
5 additions, 5 deletions
gitlab/deploy.sh
with
5 additions
and
5 deletions
gitlab/deploy.sh
+
5
−
5
View file @
99d4e626
...
@@ -8,15 +8,15 @@ lock_pypirc
...
@@ -8,15 +8,15 @@ lock_pypirc
setup_deploy register
--repository
staging
setup_deploy register
--repository
staging
setup_deploy check sdist
--formats
zip upload
--repository
staging
setup_deploy check sdist
--formats
zip upload
--repository
staging
# if that worked, uploads source package to the production index
log_info
"Uploading package to
${
PYPISERVER
}
on behalf of
${
PYPIUSER
}
..."
setup_deploy register
--repository
production
setup_deploy check sdist
--formats
zip upload
--repository
production
# if that worked, uploads documentation to pythonhosted if any exists
# if that worked, uploads documentation to pythonhosted if any exists
if
[
-d
sphinx
]
;
then
if
[
-d
sphinx
]
;
then
log_info
"Uploading documentation to
${
PYPISERVER
}
on behalf of
${
PYPIUSER
}
..."
log_info
"Uploading documentation to
${
PYPISERVER
}
on behalf of
${
PYPIUSER
}
..."
setup_deploy upload_docs
--upload-dir
sphinx
--repository
production
setup_deploy upload_docs
--upload-dir
sphinx
--repository
production
fi
fi
# if that worked, uploads source package to the production index
log_info
"Uploading package to
${
PYPISERVER
}
on behalf of
${
PYPIUSER
}
..."
setup_deploy register
--repository
production
setup_deploy check sdist
--formats
zip upload
--repository
production
unlock_pypirc
unlock_pypirc
This diff is collapsed.
Click to expand it.
André Anjos
@aanjos
Mentioned in issue
#24 (closed)
·
8 years ago
Mentioned in issue
#24 (closed)
Mentioned in issue #24
Toggle commit list
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