Project

General

Profile

Misc #21769

Updated by k0kubun (Takashi Kokubun) 2 days ago

## 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, release manager, 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 ‘_’.

Back