Browse Source

No version field in bower.json.

Herbert Vojčík 1 year ago
parent
commit
38815caeb2
2 changed files with 1 additions and 2 deletions
  1. 0 1
      bower.json
  2. 1 1
      internal/setversion.sh

+ 0 - 1
bower.json

@@ -1,6 +1,5 @@
 {
   "name": "amber",
-  "version": "0.19.0-pre",
   "main": "support/amber.js",
   "ignore": [
     "**/.*",

+ 1 - 1
internal/setversion.sh

@@ -14,7 +14,7 @@ rm Kernel-Infrastructure.st.bak
 cd $AMBER_BASE
 internal/local-amberc -D src src/Kernel-Infrastructure.st
 # set version in all json files (bower, npm)
-for F in bower.json package.json; do
+for F in package.json; do
   cp $F $F.bak
   sed -e 's/"version": "[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-.\{0,\}\)\{0,1\}"/"version": "'"$VERSION"'"/' $F.bak >$F
   rm $F.bak