Repository navigation
ci(release)!: stop tracking the openapi.json hash in version.go - #588
Merged
Merged
Conversation
byashimov
force-pushed
the
byashimov/NEX-2944/openapi-zip-asset
branch
from
October 15, 2026 14:14
9893b42 to
7cc96ec
Compare
vmyroslav
reviewed
Oct 15, 2026
byashimov
force-pushed
the
byashimov/NEX-2944/openapi-zip-asset
branch
from
October 15, 2026 14:26
7cc96ec to
f8a7d84
Compare
vmyroslav
approved these changes
Oct 15, 2026
ndk
approved these changes
Oct 15, 2026
`update.yml` no longer writes `OpenAPISpecHash()` or the version into `version.go`; it regenerates from the fresh `openapi.json` and opens the PR, as before. `openapi.json` stays out of the repo. With nothing written to `version.go`, `release.yml` tags each push to `main` that touches `**.go`, `**/go.mod` or `**/go.sum` (excluding `**_test.go` and `generator/**`) with the next minor version, so the merge queue never has to accept a bot push. Each release attaches the current `openapi.json` as `openapi.zip`. `workflow_dispatch` releases `main` on demand; an already-tagged commit is skipped. `Version()` reads the module version via `runtime/debug.ReadBuildInfo()`; local builds report `v0.0.0`. BREAKING CHANGE: `OpenAPISpecHash()` is removed.
byashimov
force-pushed
the
byashimov/NEX-2944/openapi-zip-asset
branch
from
October 15, 2026 14:38
f8a7d84 to
aad2c69
Compare
ndk
approved these changes
Oct 15, 2026
vmyroslav
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
update.ymlno longer writesOpenAPISpecHash()or the version intoversion.go; it regenerates from the freshopenapi.jsonand opens the PR, as before.openapi.jsonstays out of the repo and the releases.With nothing written to
version.go,release.ymltags each push tomainthat touches**.go,**/go.modor**/go.sumwith the next minor version, so the merge queue never has to accept a bot push.workflow_dispatchreleasesmainon demand; an already-tagged commit is skipped.Version()reads the module version viaruntime/debug.ReadBuildInfo(); local builds reportv0.0.0.BREAKING CHANGE:
OpenAPISpecHash()is removed.