Open natsukagami opened 1 year ago
We currently rely on changing essentially doc.go to display the production version and compare with the latest version from GitHub to look for updates: https://github.com/natsukagami/kjudge/blob/6dec3df1b06f5d928f65a8b49306a8f4b83ac129/doc.go#L5-L10
doc.go
This requires a manual commit for every release (as I have forgotten to do in 0.7.5). Let's look for a way to automate this.
Perhaps something like debug.BuildInfo or https://github.com/docker/metadata-action (to extract and inject metadata during CI builds) would help.
We currently rely on changing essentially
doc.go
to display the production version and compare with the latest version from GitHub to look for updates: https://github.com/natsukagami/kjudge/blob/6dec3df1b06f5d928f65a8b49306a8f4b83ac129/doc.go#L5-L10This requires a manual commit for every release (as I have forgotten to do in 0.7.5). Let's look for a way to automate this.
Perhaps something like debug.BuildInfo or https://github.com/docker/metadata-action (to extract and inject metadata during CI builds) would help.