Skip to content

Commit e25a84a

Browse files
committed
Fix release task
We can't use a tag that looks like a version number, because npm will fail.
1 parent 4a99719 commit e25a84a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/release.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@
127127
if /[a-z]/.match?(version)
128128
npm_tag = " --tag pre"
129129
else
130-
local_major_version = version.split(".", 4)[0]
131-
npm_tag = " --tag v#{local_major_version}"
130+
npm_tag = " --tag latest"
132131
end
133132

134133
sh "npm publish#{npm_tag}#{npm_otp}"

0 commit comments

Comments
 (0)