From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2025-12-12T01:06:21+00:00 Subject: [ruby-core:124164] [Ruby Misc#21769] Use "vX.Y.Z" instead of "vX_Y_Z" as tag names on ruby.git Issue #21769 has been updated by k0kubun (Takashi Kokubun). Here's the list of all changes I made for this ticket: * `tool/merger.rb tag` * https://github.com/ruby/ruby/commit/0564214a00450371527c7bd69fc13618e5f25f30 * `tool/merger.rb remove_tag` * https://github.com/ruby/ruby/commit/aff0c6dad2486e939e7f6678c519314925dad866 * `tool/format-release` * https://github.com/ruby/ruby/commit/a973526c050fec044ffd7ceeba0ac8e8a1fed299 * `tool/releng/update-www-meta.rb` * https://github.com/ruby/ruby/commit/12bf3a99d72f5f6f0a7633863e285029aa407c57 * `tool/make-snapshot` * https://github.com/ruby/ruby/commit/1f0ca55750413603057fabef39550feb9e7fc3c8 * `.github/workflows/draft-release.yml` * https://github.com/ruby/actions/commit/b5d6f8d5d31d3550ed223305a64dd4b8bfb9e95b ---------------------------------------- Misc #21769: Use "vX.Y.Z" instead of "vX_Y_Z" as tag names on ruby.git https://bugs.ruby-lang.org/issues/21769#change-115624 * Author: k0kubun (Takashi Kokubun) * Status: Closed * Assignee: k0kubun (Takashi Kokubun) ---------------------------------------- ## Proposal * Use `vX.Y.Z` (e.g. `v4.0.0`) instead of `vX_Y_Z` (e.g. `v4_0_0`) as git tag names from Ruby 4.0.0 * Also use `-` for preview/rc releases, e.g. `v4.0.0-rc1` instead of `v4_0_0_rc1` ## Motivation * Inconsistent version formats and the need of conversion make the release workflow implementation a little complicated and hard to read. * As a stable branch maintainer, I don't want to spend time figuring out which version format is right for each CLI. ## Background * Release tarball URLs already follow the proposed format (without `v`), e.g. `ruby-4.0.0-preview2.tar.gz`. * Historically, we used `vX_Y_Z` because CVS didn't allow the use of `.` in tag names. We no longer need the workaround for Git. * > https://www.gnu.org/software/trans-coord/manual/cvs/html_node/Tags.html > Tag names must start with an uppercase or lowercase letter and can contain uppercase and lowercase letters, digits, ���-���, and ���_���. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/