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

Publish sourcify-server and only publish the package in its own CI run #1708

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

kuzdogan
Copy link
Member

@kuzdogan kuzdogan commented Oct 21, 2024

The changes adds the sourcify-server package to be published to npm.

It also adds a check to only publish the packages in their own tagged CI runs. Previously e.g. when there was a new tag for theese packages, both lib-sourcify and bytecode-utils's CI runs tried to publish both packages. This results in the first one succeeding and publishing both packages but the second one to fail.

Now we check to only publish the package in their corresponding tag CI builds.

Related to #1661. Still need to add the docs how to use the server package.

Edit: TBH I'd skip adding the docs because it's rather complicated to set up a new Server() with options. I tried to do the fixes and it takes a lot of time. I'd postpone it until someone requests it and also until #1665

The changes adds the sourcify-server package to be published to npm.

It also adds a check to only publish the packages in their own tagged CI runs. Previously e.g.  when there was a new tag for theese packages, both lib-sourcify and bytecode-utils's CI runs tried to publish both packages. This results in the first one succeeding and publishing both packages but the second one to fail.

Now we check to only publish the package in their corresponding tag CI builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant