|
@@ -6,7 +6,8 @@ if [ -n "$TARGET_VERSION" ]; then
|
|
|
perl -i'orig_*' -lape "s/Version: [0-9.]+/Version: $TARGET_VERSION/g;" \
|
|
|
-e "s/((?:defconst|defvar|setq).*-version\s+)\"[0-9.]+\"/\${1}\"$TARGET_VERSION\"/g;" \
|
|
|
-e "s/(Package-Requires.*\(ido-completing-read\+\s+)\"[0-9.]+\"\)/\${1}\"${TARGET_VERSION}\")/g;" \
|
|
|
- *.el
|
|
|
+ -e "s/\(package \"ido-ubiquitous\" \"[0-9.]+\"/(package \"ido-ubiquitous\" \"${TARGET_VERSION}\"/g" \
|
|
|
+ *.el Cask
|
|
|
else
|
|
|
echo "Usage: $0 VERSION_NUMBER"
|
|
|
fi
|