Skip to content
Snippets Groups Projects
Commit a611e873 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Use the current package.json version

parent 6287c9c9
No related branches found
No related tags found
1 merge request!141npm package config
......@@ -67,6 +67,8 @@ s3upload:
- tags
script:
- mc --version
- jq --version
- echo "Detected version: " $(jq -r .version package.json)
- mkdir -p npm_release
- npm i
- npm run build
......@@ -74,7 +76,7 @@ s3upload:
- cd npm_release && tar -xzvf *.tgz && cd ..
# Upload to S3
- mc alias set elixxir-s3 $ARTIFACT_S3_ENDPOINT $ARTIFACT_S3_KEY $ARTIFACT_S3_SECRET
- mc cp --recursive --md5 npm_release/package/ elixxir-s3/$ARTIFACT_S3_BUCKET/wasm/xxdk-wasm-0.3.14/
- mc cp --recursive --md5 npm_release/package/ elixxir-s3/$ARTIFACT_S3_BUCKET/wasm/xxdk-wasm-$(jq -r .version package.json)/
artifacts:
paths:
- npm_release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment