Skip to content

update registry publishing #6146

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

Merged
merged 2 commits into from
Feb 15, 2023
Merged

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Feb 10, 2023

motivation: update based on recent spec

changes:

  • do not request server requirements, deduce configuration based on user provided flags
  • fix issues in publishing logic per testing

@tomerd tomerd requested review from yim-lee and removed request for neonichu, elsh and abertelrud February 10, 2023 23:31
@tomerd tomerd enabled auto-merge (squash) February 10, 2023 23:31
@tomerd
Copy link
Contributor Author

tomerd commented Feb 10, 2023

@swift-ci smoke test

@tomerd tomerd self-assigned this Feb 10, 2023
@tomerd
Copy link
Contributor Author

tomerd commented Feb 11, 2023

@swift-ci smoke test

@tomerd tomerd force-pushed the feature/registry-publish-6 branch from 24e5d8a to 8eae339 Compare February 13, 2023 22:45
@tomerd
Copy link
Contributor Author

tomerd commented Feb 13, 2023

@swift-ci smoke test

@tomerd
Copy link
Contributor Author

tomerd commented Feb 13, 2023

@yim-lee updated per our discussion

motivation: update based on recent spec

changes:
* do not request server requirements, deduce configuration based on use provided flags
* fix issues in publishing logic per testing
* simplify metadata handling
@tomerd tomerd force-pushed the feature/registry-publish-6 branch from 8eae339 to e8196d3 Compare February 14, 2023 21:44
@tomerd
Copy link
Contributor Author

tomerd commented Feb 14, 2023

@swift-ci smoke test

@tomerd
Copy link
Contributor Author

tomerd commented Feb 14, 2023

@yim-lee updated

observabilityScope: swiftTool.observabilityScope
)
}

// step 4: publish the package
guard !self.dryRun else {
print(
"\(packageIdentity)@\(packageVersion) was successfully prepared for publishing but was not published due to dry run flag. artifacts available at '\(workingDirectory)'."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"\(packageIdentity)@\(packageVersion) was successfully prepared for publishing but was not published due to dry run flag. artifacts available at '\(workingDirectory)'."
"\(packageIdentity)@\(packageVersion) was successfully prepared for publishing but was not published due to dry run flag. Artifacts available at '\(workingDirectory)'."

@tomerd tomerd merged commit 8fd9c97 into swiftlang:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants