mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
16 lines
325 B
Bash
Executable File
16 lines
325 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
cd `dirname $0`
|
|
|
|
VERSION=$1
|
|
|
|
if [[ "${VERSION}" == "" ]]
|
|
then
|
|
echo "Version number required"
|
|
exit 1
|
|
fi
|
|
|
|
echo "====== RENAMING 0.0.0-PLACEHOLDER to N.N.N version ======"
|
|
find ././../ng2-components/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLACEHOLDER/${VERSION}/g" |