mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
fix: use snapshot version for dev
This commit is contained in:
@@ -36,7 +36,7 @@ public class VersionController {
|
||||
|
||||
@GetMapping
|
||||
public VersionInfo version() {
|
||||
if ("dev".equals(version)) {
|
||||
if (version.endsWith("-SNAPSHOT")) {
|
||||
return VersionInfo.builder()
|
||||
.currentVersion(version)
|
||||
.latestVersion(version).build();
|
||||
|
||||
Reference in New Issue
Block a user