mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-03 22:29:13 +08:00
Removed update-readmes.sh, not needed anymore.
This commit is contained in:
parent
2a947536bc
commit
155cee9db5
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Needs gnu-sed on macOS for inplace replacement
|
|
||||||
# brew install --with-default-names gnu-sed
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ -z "$1" ]
|
|
||||||
then
|
|
||||||
echo "Usage: ./update-readmes.sh <from-branch> <to-branch>"
|
|
||||||
echo "Example: ./update-readmes.sh 3.6 3.7"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$2" ]
|
|
||||||
then
|
|
||||||
echo "Usage: ./update-readmes.sh <from-branch> <to-branch>"
|
|
||||||
echo "Example: ./update-readmes.sh 3.6 3.7"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
find . -type f -name 'README.md' | while read line; do
|
|
||||||
echo "Updating $line"
|
|
||||||
sed -i "s,https://github.com/EsotericSoftware/spine-runtimes/archive/$1.zip,https://github.com/EsotericSoftware/spine-runtimes/archive/$2.zip,g" $line
|
|
||||||
done
|
|
||||||
Loading…
x
Reference in New Issue
Block a user