Skip to content

Commit c5feaed

Browse files
authored
remove unnecessary v prefix from version tags (#2186)
* remove unnecessary v prefix from version tags As @bkuhlmann espoused in a recent Boulder Ruby talk on Milestones (https://alchemists.io/articles/milestones), the `v` prefix is unnecessary and not Ruby convention. * add changelog
1 parent 644bfb7 commit c5feaed

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ nav_order: 5
1010

1111
## main
1212

13+
* Do not prefix release tags with `v`, per recommendation from @bkuhlmann.
14+
15+
*Joel Hawksley*
16+
1317
## 3.21.0
1418

1519
* Updates testing docs to include an example of how to use with RSpec.

script/release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ remote_history_is_clean() {
1919
}
2020

2121
tag_exists_on_remote() {
22-
git rev-parse --quiet --verify refs/tags/v$1.$2.$3 > /dev/null
22+
git rev-parse --quiet --verify refs/tags/$1.$2.$3 > /dev/null
2323
}
2424

2525
working_tree_is_clean() {
@@ -28,7 +28,7 @@ working_tree_is_clean() {
2828
}
2929

3030
create_release_branch() {
31-
git switch -c release-v$1-$2-$3
31+
git switch -c release-$1-$2-$3
3232
}
3333

3434
update_readme() {
@@ -77,7 +77,7 @@ commit() {
7777
}
7878

7979
push() {
80-
git push origin release-v$1-$2-$3
80+
git push origin release-$1-$2-$3
8181

8282
echo "####################################################"
8383
echo "Now, open a PR with this branch and merge it to main"

0 commit comments

Comments
 (0)