mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
update readme during npm version runs
This commit is contained in:
9
update-readme.sh
Executable file
9
update-readme.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "old_version: $npm_old_version"
|
||||
echo "new_version: $npm_new_version"
|
||||
echo "package_name: $npm_package_name"
|
||||
|
||||
sed -i '' "s/$npm_package_name@v$npm_old_version/$npm_package_name@v$npm_new_version/g" README.md
|
||||
|
||||
git add README.md
|
||||
Reference in New Issue
Block a user