Skip to content

change-version.js: handle rubygems specific version number#38452

Merged
XhmikosR merged 6 commits intomainfrom
main-jd-handle-ruby-versioning-in-change-version-script
Apr 12, 2023
Merged

change-version.js: handle rubygems specific version number#38452
XhmikosR merged 6 commits intomainfrom
main-jd-handle-ruby-versioning-in-change-version-script

Conversation

@julien-deramond
Copy link
Copy Markdown
Member

Description

In fe0c743, we are changing the current_ruby_version value to "5.3.0.alpha3".

When we will run npm run release-version 5.3.0-alpha3 5.3.0, config.yml won't be modified for current_ruby_version because it won't match 5.3.0-alpha3.

This PR is a very naive approach to handling this specific use case.
It is probably more a ping for you @XhmikosR than a real solution.
Feel free to change it or close it if not necessary.

@julien-deramond julien-deramond changed the title . Handle Ruby specific version number in change-version.js Apr 12, 2023
Comment thread build/change-version.js Outdated
@XhmikosR
Copy link
Copy Markdown
Member

Yeah, unfortunately, this doesn't work in the sense that it will still produce the wrong version for rubygems.

I fixed it, but I'm not sure I like the g flag, but maybe it's OK since it does the job now.

@XhmikosR XhmikosR changed the title Handle Ruby specific version number in change-version.js change-version.js: handle rubygems specific version number Apr 12, 2023
@XhmikosR XhmikosR changed the title change-version.js: handle rubygems specific version number change-version.js: handle rubygems specific version number Apr 12, 2023
@XhmikosR XhmikosR marked this pull request as ready for review April 12, 2023 19:55
@XhmikosR XhmikosR requested a review from a team as a code owner April 12, 2023 19:55
@XhmikosR XhmikosR merged commit b4befee into main Apr 12, 2023
@XhmikosR XhmikosR deleted the main-jd-handle-ruby-versioning-in-change-version-script branch April 12, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants