File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,20 @@ jobs:
136136 - store_artifacts :
137137 path : dist
138138 destination : dist
139+ - run :
140+ name : Pack tarball
141+ command : |
142+ npm pack
143+ version=$(node -e "console.log(require('./package.json').version)")
144+ mv plotly.js-$version.tgz plotly.js.tgz
145+ - store_artifacts :
146+ path : plotly.js.tgz
147+ destination : /plotly.js.tgz
139148 - run :
140149 name : Show URLs to build files
141150 command : |
142151 PROJECT_NUM=45646037
152+ echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/plotly.js.tgz
143153 echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.js
144154 echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
145155 echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plot-schema.json
You can’t perform that action at this time.
0 commit comments