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
a3c81f45
Commit
a3c81f45
authored
8 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
[temp] disable pypi uploading temporary in deploy.sh
parent
6e907ec3
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
+13
-13
13 additions, 13 deletions
gitlab/deploy.sh
with
13 additions
and
13 deletions
gitlab/deploy.sh
+
13
−
13
View file @
a3c81f45
...
@@ -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.
Amir MOHAMMADI
@amohammadi
Mentioned in commit
5c36ee8c
·
8 years ago
Mentioned in commit
5c36ee8c
Mentioned in commit 5c36ee8cce2771bd17bbe500a643951c7e37826a
Toggle commit list
Amir MOHAMMADI
@amohammadi
Mentioned in merge request
!16 (merged)
·
8 years ago
Mentioned in merge request
!16 (merged)
Mentioned in merge request !16
Toggle commit list
Amir MOHAMMADI
@amohammadi
Mentioned in commit
31240591
·
8 years ago
Mentioned in commit
31240591
Mentioned in commit 31240591dd90fbb8c969939e5c70fb1289ce7466
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