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
a850f682
"release/release_bob.py" did not exist on "4d59be043d10f03aed678d778ad6e8eade359e69"
Commit
a850f682
authored
8 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
Revert "[temp] disable pypi deploy"
This reverts commit
c4463f99
parent
98ee24ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab/deploy.sh
+11
-11
11 additions, 11 deletions
gitlab/deploy.sh
with
11 additions
and
11 deletions
gitlab/deploy.sh
+
11
−
11
View file @
a850f682
...
@@ -3,23 +3,23 @@
...
@@ -3,23 +3,23 @@
source
$(
dirname
${
0
}
)
/functions.sh
source
$(
dirname
${
0
}
)
/functions.sh
#
lock_pypirc
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
# if that worked, uploads source package to the production index
#
log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..."
log_info
"Uploading package to
${
PYPISERVER
}
on behalf of
${
PYPIUSER
}
..."
#
setup_deploy register --repository production
setup_deploy register
--repository
production
#
setup_deploy check sdist --formats zip upload --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
#
unlock_pypirc
unlock_pypirc
condaforge_packages
=(
"bob"
\
condaforge_packages
=(
"bob"
\
"bob.extension"
\
"bob.extension"
\
...
...
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