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

Merged
merged 1 commit into from
Oct 24, 2024

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.
@kuzdogan kuzdogan requested a review from manuelwedler October 24, 2024 04:51
Copy link
Collaborator

@manuelwedler manuelwedler left a comment

Choose a reason for hiding this comment

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

lgtm :)

@kuzdogan kuzdogan merged commit dce4319 into staging Oct 24, 2024
5 of 6 checks passed
@kuzdogan kuzdogan deleted the publish-server branch January 2, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

2 participants