mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-05 10:20:36 +02:00
parent
eefa64e2d4
commit
af3b35f06a
@ -72,9 +72,9 @@ export function useVersion() {
|
||||
if (usesNext) {
|
||||
latest = versionInfo.next;
|
||||
} else if (current.includes('rc')) {
|
||||
latest = versionInfo.rc;
|
||||
latest = versionInfo.rc.replace(/^v/, '');
|
||||
} else {
|
||||
latest = versionInfo.latest;
|
||||
latest = versionInfo.latest.replace(/^v/, '');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user