Skip to content

Commit

Permalink
🚑 Remove ^v from $version
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jan 11, 2025
1 parent a4e3736 commit dc41821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update-version.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BEGIN
$version =
`curl -s https://api.github.com/repos/xmake-io/xmake/releases/latest | jq -r .tag_name`;
chomp $version;
$version =~ s/^v//;
}

s/(?<=version = ")[^"]+/$version/;
Expand Down

0 comments on commit dc41821

Please sign in to comment.