s/version.txt/git-revision.txt/

This commit is contained in:
Richard van der Hoff 2016-02-25 16:50:27 +00:00
parent dceb4a9297
commit c1bb527539
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -2,5 +2,5 @@
/lib /lib
# version file and tarball created by 'npm pack' # version file and tarball created by 'npm pack'
/version.txt /git-revision.txt
/matrix-react-sdk-*.tgz /matrix-react-sdk-*.tgz

View file

@ -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; git rev-parse HEAD > version.txt" "prepublish": "npm run build; git rev-parse HEAD > git-revision.txt"
}, },
"dependencies": { "dependencies": {
"classnames": "^2.1.2", "classnames": "^2.1.2",