Skip to content

Commit 1d79d4f

Browse files
committed
Update changelog and release tasks
1 parent d4472d8 commit 1d79d4f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# main
22

3+
- Enable table support for CommonMarker (#1443)
4+
- Parser performance improvements (#1452, #1453, #1454, #1455)
5+
- Fix autoload of RipperParser (#1460)
6+
- Remove dependency on webrick for better Ruby 3.1+ support
7+
- Improvements for mixin resolution (#1467, #1468)
8+
39
# [0.9.28] - June 1st, 2022
410

511
[0.9.28]: https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28

tasks/prepare_tag.rake

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ namespace :release do
2020
'__RESTORE_FILE' => restore_file.path,
2121
}
2222
(action['arguments'] || {}).each {|k, v| env["_#{k.upcase}"] = v }
23-
cmd = [File.join(build_path, action['action']), *action['files']]
23+
file = File.join(build_path, action['action'])
24+
shebang = File.readlines(file).first[%r{\A#!(?:\S+)/(.+)}, 1].strip.split(' ')
25+
cmd = [*shebang, file, *action['files']]
2426
puts "[C] #{action['action']} #{(action['files'] || []).join(' ')}"
2527
output = ""
2628
IO.popen(env, cmd) {|io| output = io.read }
@@ -40,6 +42,6 @@ namespace :release do
4042

4143
desc 'Pushes the main branch and tag for VERSION=X.Y.Z'
4244
task :push do
43-
sh "git push main v#{ENV['VERSION']}"
45+
sh "git push origin main v#{ENV['VERSION']}"
4446
end
4547
end

0 commit comments

Comments
 (0)