Skip to content

Commit

Permalink
[version] Fix a typo that broke previous version calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Dec 3, 2024
1 parent babb952 commit 6ee3b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/git/version.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function previous_js_version
return 1
end

if not set set PREVIOUS_VERSION (git show HEAD~:package.json | jq -r -e ".version")
if not set PREVIOUS_VERSION (git show HEAD~:package.json | jq -r -e ".version")
return 1
end
echo -n "v$PREVIOUS_VERSION"
Expand Down

0 comments on commit 6ee3b0b

Please sign in to comment.