Skip to content

Commit

Permalink
fill in version based on git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
inodb authored and onursumer committed May 19, 2022
1 parent ad6b040 commit 2fe4aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/oncoprintjs/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ before_deploy:
- mv ./dist/oncoprint-bundle.js ./index.js
- cp -r ./dist/* ./
- rm -rf dist
# generate version in package.json using git describe --tags
- sed -i "s/\"oncoprintjs\",/\"oncoprintjs\",\n\ \ \"version\":\"$(git describe --tags | sed 's/^v//g')\",/g" package.json
deploy:
provider: npm
email: cbioportal@gmail.com
Expand Down
1 change: 0 additions & 1 deletion packages/oncoprintjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "oncoprintjs",
"version": "1.0.3",
"description": "A data visualization for cancer genomic data.",
"scripts": {
"clean": "rm -rf dist",
Expand Down

0 comments on commit 2fe4aba

Please sign in to comment.