Don't write a \n at the end of the release version (#15659)

We also didn't need to shell out to the `echo` command for this. I don't
know why I did that.
This commit is contained in:
Jamie Gaskins 2021-12-03 13:08:27 -05:00 committed by GitHub
parent 6d79fc94a9
commit 251e870766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ begin
puts "Merged #{source} into #{channel}"
begin
run "echo '#{tag}' > .release-version"
File.write ".release-version", tag
run "git add .release-version"
run "git commit --message 'Version #{tag}'"
run "git tag #{tag}"