Skip to content
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

Merged
merged 1 commit into from
Oct 10, 2023
Merged

[ENG-1270] fix pypi publishing with token #267

merged 1 commit into from
Oct 10, 2023

Conversation

eddiechayes
Copy link
Contributor

No description provided.

@notion-workspace
Copy link

@konfig-changeset-bot
Copy link

✅ Changeset detected

Latest commit: 2928426

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
konfig-cli Patch

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,
Copy link
Contributor Author

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) {
Copy link
Contributor Author

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

@eddiechayes eddiechayes merged commit b3f2b48 into main Oct 10, 2023
@eddiechayes eddiechayes deleted the ENG-1270 branch October 10, 2023 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants