Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
ea420b83
Unverified
Commit
ea420b83
authored
Oct 16, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix publishing for the first time with a prerelease
parent
fc7ad764
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
+1
-0
poetry/masonry/builders/sdist.py
+0
-2
poetry/masonry/publishing/uploader.py
+3
-1
No files found.
CHANGELOG.md
View file @
ea420b83
...
...
@@ -31,6 +31,7 @@
-
Fixed transitive directory dependencies installation.
-
Fixed file permissions for configuration and authentication files.
-
Fixed an error in
`cache:clear`
for Python 2.7.
-
Fixed publishing for the first time with a prerelease.
## [0.11.5] - 2018-09-04
...
...
poetry/masonry/builders/sdist.py
View file @
ea420b83
...
...
@@ -9,9 +9,7 @@ from gzip import GzipFile
from
io
import
BytesIO
from
posixpath
import
join
as
pjoin
from
pprint
import
pformat
from
typing
import
List
from
poetry.packages
import
Dependency
from
poetry.utils._compat
import
Path
from
poetry.utils._compat
import
encode
from
poetry.utils._compat
import
to_str
...
...
poetry/masonry/publishing/uploader.py
View file @
ea420b83
...
...
@@ -250,7 +250,9 @@ class Uploader:
Register a package to a repository.
"""
dist
=
self
.
_poetry
.
file
.
parent
/
"dist"
file
=
dist
/
"{}-{}.tar.gz"
.
format
(
self
.
_package
.
name
,
self
.
_package
.
version
)
file
=
dist
/
"{}-{}.tar.gz"
.
format
(
self
.
_package
.
name
,
normalize_version
(
self
.
_package
.
version
.
text
)
)
if
not
file
.
exists
():
raise
RuntimeError
(
'"{0}" does not exist.'
.
format
(
file
.
name
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment