Skip to content

Conversation

@jonathanhefner
Copy link
Member

Since 5042d1e, the value of ENV["HORO_BADGE_VERSION"] is preferred over the value of ENV["HORO_PROJECT_VERSION"]. Therefore, we can consolidate the project_version and badge_version helpers.

Note that while ENV["HORO_BADGE_VERSION"] has the format we desire, ENV["HORO_PROJECT_VERSION"] is the more obvious and preferable name. After these changes is released, we can encourage consumers (namely, Rails) to set ENV["HORO_PROJECT_VERSION"] with the same value as ENV["HORO_BADGE_VERSION"] and then to drop ENV["HORO_BADGE_VERSION"] altogether.

Since 5042d1e, the value of
`ENV["HORO_BADGE_VERSION"]` is preferred over the value of
`ENV["HORO_PROJECT_VERSION"]`.  Therefore, we can consolidate the
`project_version` and `badge_version` helpers.

Note that while `ENV["HORO_BADGE_VERSION"]` has the format we desire,
`ENV["HORO_PROJECT_VERSION"]` is the more obvious and preferable name.
After these changes is released, we can encourage consumers (namely,
Rails) to set `ENV["HORO_PROJECT_VERSION"]` with the same value as
`ENV["HORO_BADGE_VERSION"]` and then to drop `ENV["HORO_BADGE_VERSION"]`
altogether.
@jonathanhefner jonathanhefner merged commit 7c8e9f6 into rails:main Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant