Skip to content

Commit

Permalink
Merge pull request #280 from dependabot/drop-readme-from-bump-script
Browse files Browse the repository at this point in the history
Don't bump pin versions in `README.md`
  • Loading branch information
jeffwidman authored Nov 2, 2022
2 parents 7db64c3 + f40d4c7 commit 404ba25
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 404ba25

Please sign in to comment.