|
@@ -7,15 +7,15 @@ AMBER_BASE=`pwd`
|
|
|
cd $AMBER_BASE/src
|
|
|
|
|
|
cp Kernel-Infrastructure.st Kernel-Infrastructure.st.bak
|
|
|
-sed -e "/^version\$/,/^\! \!\$/ s/\^ '[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-pre\)\{0,1\}'\$/^ '$VERSION'/" Kernel-Infrastructure.st.bak >Kernel-Infrastructure.st
|
|
|
+sed -e "/^version\$/,/^\!\( |\$\)/ s/\^ '[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-.\{0,\}\)\{0,1\}'\$/^ '$VERSION'/" Kernel-Infrastructure.st.bak >Kernel-Infrastructure.st
|
|
|
rm Kernel-Infrastructure.st.bak
|
|
|
|
|
|
|
|
|
cd $AMBER_BASE
|
|
|
internal/local-amberc -D src -l Kernel-Objects,Kernel-Collections src/Kernel-Infrastructure.st
|
|
|
|
|
|
-for F in *.json; do
|
|
|
+for F in bower.json package.json; do
|
|
|
cp $F $F.bak
|
|
|
- sed -e 's/"version": "[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-pre\)\{0,1\}"/"version": "'"$VERSION"'"/' $F.bak >$F
|
|
|
+ sed -e 's/"version": "[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-.\{0,\}\)\{0,1\}"/"version": "'"$VERSION"'"/' $F.bak >$F
|
|
|
rm $F.bak
|
|
|
done
|