Browse Source

No version field in bower.json.

Herbert Vojčík 11 months 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 @@
1 1
 {
2 2
   "name": "amber",
3
-  "version": "0.19.0-pre",
4 3
   "main": "support/amber.js",
5 4
   "ignore": [
6 5
     "**/.*",

+ 1 - 1
internal/setversion.sh

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