-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENG-1270] fix pypi publishing with token #267
Conversation
✅ Changeset detectedLatest commit: 2928426 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -252,17 +252,20 @@ const publishScripts = { | |||
token, | |||
version, | |||
gitlabRepositoryId, | |||
skipTag, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought I'd fix skiptag for python while I was at it
@@ -556,7 +561,7 @@ export default class Publish extends Command { | |||
// Override TWINE_USERNAME / PASWORD | |||
process.env.TWINE_USERNAME = process.env.TEST_TWINE_USERNAME | |||
process.env.TWINE_PASSWORD = process.env.TEST_TWINE_PASSWORD | |||
} else { | |||
} else if (!usesToken) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before this change we error if we dont have twine username and password even if we're trying to use the token
No description provided.