Skip to content

Commit

Permalink
Revert "trim v on version check (woodpecker-ci#3039)"
Browse files Browse the repository at this point in the history
This reverts commit af3b35f.
  • Loading branch information
6543 committed Dec 27, 2023
1 parent db7d31f commit b8614a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/compositions/useVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ export function useVersion() {
if (usesNext) {
latest = versionInfo.next;
} else if (current.includes('rc')) {
latest = versionInfo.rc.replace(/^v/, '');
latest = versionInfo.rc;
} else {
latest = versionInfo.latest.replace(/^v/, '');
latest = versionInfo.latest;
}
}

Expand Down

0 comments on commit b8614a1

Please sign in to comment.