Skip to content

Commit f40d4c7

Browse files
authored
Don't bump pin versions in README.md
We'd rather suggest folks pin to the floating tag `v1` so they default to automatically updated. If they'd rather pin deterministically, they should be pinning by SHA, not the full major/min/patch. Related: * #246 * #267 (comment)
1 parent 7db64c3 commit f40d4c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/bump-version

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ fi
2222

2323
new_version=$(npm version "${patch_level}" --no-git-tag-version)
2424
git checkout -b "${new_version}"-release-notes
25-
sed -i.bak "s|dependabot/fetch-metadata@v[0-9.]*|dependabot/fetch-metadata@${new_version}|g" "README.md"
26-
rm README.md.bak
27-
git add package.json package-lock.json README.md
25+
git add package.json package-lock.json
2826
git commit -m "${new_version}"
2927

3028
echo "Branch prepared for ${new_version}"

0 commit comments

Comments
 (0)