mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
parent
eefa64e2d4
commit
af3b35f06a
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue