Skip to content

Commit

Permalink
fix: Remove v character from version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg committed Sep 25, 2023
1 parent a43f2d1 commit b025f04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function createVersionFromGithubResponse(string $shopwareVersion, array
private function getRelease(string $shopwareVersion, array $releaseInformation): array
{
foreach ($releaseInformation as $release) {
if (version_compare($shopwareVersion, $release['tag_name'], '>=')) {
if (version_compare($shopwareVersion, ltrim($release['tag_name'], 'v'), '>=')) {
continue;
}

Expand Down

0 comments on commit b025f04

Please sign in to comment.