Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Template
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
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
nimrod
Template
Commits
1944abf0
Commit
1944abf0
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
More generic upload Pipenv script.
parent
d3d8cabb
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Pipfile
+1
-1
1 addition, 1 deletion
Pipfile
README.rst
+4
-2
4 additions, 2 deletions
README.rst
with
6 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
1944abf0
...
@@ -75,7 +75,7 @@ upload:
...
@@ -75,7 +75,7 @@ upload:
script
:
script
:
-
mv "$pypirc" $HOME/.pypirc
-
mv "$pypirc" $HOME/.pypirc
-
pipenv run build
-
pipenv run build
-
pipenv run upload
-
pipenv run upload
dist/*
variables
:
*variables
variables
:
*variables
cache
:
*cache
cache
:
*cache
rules
:
rules
:
...
...
This diff is collapsed.
Click to expand it.
Pipfile
+
1
−
1
View file @
1944abf0
...
@@ -13,7 +13,7 @@ template = {editable = true,path = "."}
...
@@ -13,7 +13,7 @@ template = {editable = true,path = "."}
lint
=
"pre-commit run --all-files"
lint
=
"pre-commit run --all-files"
build
=
"python setup.py bdist_wheel"
build
=
"python setup.py bdist_wheel"
clean
=
"git clean -fdX"
clean
=
"git clean -fdX"
upload
=
"
sh -c '
twine upload
dist/*'
"
upload
=
"twine upload"
bats
=
"bats -t tests/"
bats
=
"bats -t tests/"
check
=
"sh -c 'rm -rf dist/ && python setup.py bdist_wheel && twine check dist/*'"
check
=
"sh -c 'rm -rf dist/ && python setup.py bdist_wheel && twine check dist/*'"
doctest
=
"sh -c 'python -m doctest template/*.py'"
doctest
=
"sh -c 'python -m doctest template/*.py'"
This diff is collapsed.
Click to expand it.
README.rst
+
4
−
2
View file @
1944abf0
...
@@ -77,8 +77,10 @@ Release
...
@@ -77,8 +77,10 @@ Release
Release requires `Pipenv <https://docs.pipenv.org>`_. To bump the version run
Release requires `Pipenv <https://docs.pipenv.org>`_. To bump the version run
:code:`pipenv run bumpversion major|minor|patch` to update the version and git
:code:`pipenv run bumpversion major|minor|patch` to update the version and git
commit and tag. Then run :code:`pipenv run upload` to upload the new version to
commit and tag the changes, then run :code:`git push --follow-tags` to push the
PyPI and :code:`git push --follow-tags` to push the git commit and tag.
git commit and tag. The GitLab CI will then build and upload a release to PyPI.
To manually upload to PyPI run :code:`pipenv run build` to build the Python
package and :code:`pipenv run upload -s dist/*` to upload a signed version.
License
License
-------
-------
...
...
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