Merge pull request #163 from pangaeatech/bump-version-README

Updated `bump-version` to update README.md as well
This commit is contained in:
Barry Gordon
2022-02-23 11:38:00 +00:00
committed by GitHub

View File

@@ -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}"