mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
Merge pull request #163 from pangaeatech/bump-version-README
Updated `bump-version` to update README.md as well
This commit is contained in:
@@ -22,7 +22,8 @@ fi
|
||||
|
||||
new_version=$(npm version "${patch_level}" --no-git-tag-version)
|
||||
git checkout -b "${new_version}"-release-notes
|
||||
git add package.json package-lock.json
|
||||
sed -i "s|dependabot/fetch-metadata@v[0-9.]*|dependabot/fetch-metadata@${new_version}|g" README.md
|
||||
git add package.json package-lock.json README.md
|
||||
git commit -m "${new_version}"
|
||||
|
||||
echo "Branch prepared for ${new_version}"
|
||||
|
||||
Reference in New Issue
Block a user