Skip to content

Commit

Permalink
Fixed incorrect file pattern in npm publish comand. (#15)
Browse files Browse the repository at this point in the history
* Fixed incorrect file pattern in npm publish comand.
  • Loading branch information
JonathanHenson authored Jan 23, 2020
1 parent 138a1de commit 73dbb12
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion continuous-delivery/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ phases:
- aws secretsmanager get-secret-value --secret-id prod/npm-registry/.npmrc --region us-east-1 | jq -r .SecretString > .npmrc
- npm install
- npm pack
- npm --userconfig ./.npmrc publish aws-iot-device-sdk-js-v2*.tgz
- npm --userconfig ./.npmrc publish aws-iot-device-sdk-v2*.tgz
2 changes: 1 addition & 1 deletion continuous-delivery/test-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ "$PUBLISHED_TAG_VERSION" == "$CURRENT_TAG_VERSION" ]; then
cd samples/node/pub_sub
npm install
npm run tsc
node dist/index.js --ca_file /tmp/AmazonRootCA1.pem --cert /tmp/certificate.pem --key /tmp/privatekey.pem --endpoint $endpoint --client_id prod_nodejs_test --verbosity info
node dist/index.js --ca_file /tmp/AmazonRootCA1.pem --cert /tmp/certificate.pem --key /tmp/privatekey.pem --endpoint $endpoint --verbosity info

exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-iot-device-sdk-v2",
"version": "1.0.2",
"version": "1.0.3",
"description": "NodeJS API for the AWS IoT service",
"homepage": "https://github.com/aws/aws-iot-device-sdk-js-v2",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion samples/node/basic_discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"typescript": "^3.7.3"
},
"dependencies": {
"aws-iot-device-sdk-v2": "^1.0.2",
"aws-iot-device-sdk-v2": "^1.0.3",
"yargs": "^14.0.0"
}
}
2 changes: 1 addition & 1 deletion samples/node/pub_sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typescript": "^3.7.3"
},
"dependencies": {
"aws-iot-device-sdk-v2": "^1.0.2",
"aws-iot-device-sdk-v2": "^1.0.3",
"yargs": "^14.0.0"
}
}

0 comments on commit 73dbb12

Please sign in to comment.