Skip to content

Commit

Permalink
Don't bump pin versions in README.md
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
jeffwidman authored Nov 2, 2022
1 parent 7db64c3 commit f40d4c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/bump-version
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ fi

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

echo "Branch prepared for ${new_version}"

0 comments on commit f40d4c7

Please sign in to comment.