Add a 'version.txt' file to the tarball
This will enable the vector build to know what it gotpull/21833/head
parent
46a2d4079d
commit
dceb4a9297
|
@ -1,5 +1,6 @@
|
||||||
/node_modules
|
/node_modules
|
||||||
/lib
|
/lib
|
||||||
|
|
||||||
# tarball created by 'npm pack'
|
# version file and tarball created by 'npm pack'
|
||||||
|
/version.txt
|
||||||
/matrix-react-sdk-*.tgz
|
/matrix-react-sdk-*.tgz
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"build": "babel src -d lib --source-maps",
|
"build": "babel src -d lib --source-maps",
|
||||||
"start": "babel src -w -d lib --source-maps",
|
"start": "babel src -w -d lib --source-maps",
|
||||||
"clean": "rimraf lib",
|
"clean": "rimraf lib",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build; git rev-parse HEAD > version.txt"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"classnames": "^2.1.2",
|
"classnames": "^2.1.2",
|
||||||
|
|
Loading…
Reference in New Issue