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 sync with go-sm api version #359

Merged
merged 7 commits into from
Jul 10, 2024
Merged

Fix sync with go-sm api version #359

merged 7 commits into from
Jul 10, 2024

Conversation

andres-spacemesh
Copy link
Contributor

No description provided.

@andres-spacemesh andres-spacemesh self-assigned this Jun 27, 2024
@fasmat
Copy link
Member

fasmat commented Jun 28, 2024

This change seems kinda backwards. I think this job should be run in the go-spacemesh repository when a new version of go-spacemesh is released generating the swagger for the api version that is specified in go mod.

To extract the version of a dependency you can do

$ go list -m github.com/spacemeshos/api/release/go
github.com/spacemeshos/api/release/go v1.48.0

Then clone the api repository of that tag, generate the swagger and upload it where it needs to go. This would then automatically be updated on every release of go-spacemesh 🙂

EDIT: right now one needs to manually run this job after go-sm is released to update the swagger file.

@andres-spacemesh
Copy link
Contributor Author

Moved to go-sm spacemeshos/go-spacemesh#6088

@fasmat fasmat merged commit 00eb0ca into master Jul 10, 2024
1 check passed
@fasmat fasmat deleted the fix-sync-with-go-sm branch July 10, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants