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

fix(ci): publish pkg if no releases yet #900

Merged
merged 3 commits into from
Nov 26, 2024
Merged

fix(ci): publish pkg if no releases yet #900

merged 3 commits into from
Nov 26, 2024

Conversation

sripwoud
Copy link
Contributor

@sripwoud sripwoud commented Nov 25, 2024

Fix soldeer release workflow error..

The condition to allow for initial publish was wrong.
E.g now there is no semaphore pkgs published on soldeer yet.
And https://api.soldeer.xyz/api/v1/revision?project_name=semaphore-protocol-contracts&limit=1 does not return "status": "fail" but just an empty data array.

{"data":[],"status":"success"}

So instead I suggest checking against the length of the data array.

I am also allowing to manually trigger the release of the workflow (as this PR won't push new tags, the soldeer release workflow needs to be triggered manually)

@sripwoud sripwoud requested a review from a team as a code owner November 25, 2024 07:29
@cedoor cedoor merged commit 91f8a4b into main Nov 26, 2024
5 checks passed
@cedoor cedoor deleted the soldeer branch November 26, 2024 08:21
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