File tree Expand file tree Collapse file tree 8 files changed +92
-1
lines changed Expand file tree Collapse file tree 8 files changed +92
-1
lines changed Original file line number Diff line number Diff line change 2727# browser bundles #
2828# #####################
2929* bundle.js
30+
31+ # misc #
32+ .npmrc
33+ * .tgz
34+ .idea
Original file line number Diff line number Diff line change 1+ examples
2+ node_modules
3+ debug
4+ .coverdata
5+ .coverrun
6+ .git
7+ .github
8+ continuous-delivery
9+ integration-testing
10+ test
11+ reports
12+ .npmrc
13+ .idea
Original file line number Diff line number Diff line change 1+ ## [ 2.2.9] ( https://github.com/aws/aws-iot-device-sdk-js/releases/tag/v2.2.9 ) (July 8, 2021)
2+
3+ Bugfixes/Improvements
4+ - Updated crypto-js version
5+ - Updated mqtt-js version
6+ - Removed reserved topic checks from subscribe calls
7+
18## [ 2.2.8] ( https://github.com/aws/aws-iot-device-sdk-js/releases/tag/v2.2.8 ) (May 20, 2021)
29
310Bugfixes/Improvements
Original file line number Diff line number Diff line change 1+ version : 0.2
2+ phases :
3+ install :
4+ runtime-versions :
5+ nodejs : 10
6+ pre_build :
7+ commands :
8+ - cd $CODEBUILD_SRC_DIR/aws-iot-device-sdk-js
9+ - bash ./continuous-delivery/update-version.sh
10+ build :
11+ commands :
12+ - aws secretsmanager get-secret-value --secret-id V1JavascriptNpmAuthToken --region us-east-1 | jq -r .SecretString > .npmrc
13+ - npm install
14+ - npm pack
15+ - npm --userconfig ./.npmrc publish aws-iot-device-sdk-*.tgz
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -ex
3+
4+ # force a failure if there's no tag
5+ git describe --tags
6+ # now get the tag
7+ CURRENT_TAG=$( git describe --tags | cut -f2 -dv)
8+ # convert v0.2.12-2-g50254a9 to 0.2.12
9+ CURRENT_TAG_VERSION=$( git describe --tags | cut -f1 -d' -' | cut -f2 -dv)
10+ # if there's a hash on the tag, then this is not a release tagged commit
11+ if [ " $CURRENT_TAG " != " $CURRENT_TAG_VERSION " ]; then
12+ echo " Current tag version is not a release tag, cut a new release if you want to publish."
13+ exit 1
14+ fi
15+
16+ PUBLISHED_TAG_VERSION=` npm show aws-iot-device-sdk version`
17+ if [ " $PUBLISHED_TAG_VERSION " == " $CURRENT_TAG_VERSION " ]; then
18+ echo " $CURRENT_TAG_VERSION is already in npm, cut a new tag if you want to upload another version."
19+ exit 1
20+ fi
21+
22+ echo " $CURRENT_TAG_VERSION currently does not exist in npm, allowing pipeline to continue."
23+ exit 0
Original file line number Diff line number Diff line change 1+ version : 0.2
2+ phases :
3+ install :
4+ runtime-versions :
5+ nodejs : 10
6+ build :
7+ commands :
8+ - cd $CODEBUILD_SRC_DIR/aws-iot-device-sdk-js
9+ - bash ./continuous-delivery/test-version-exists.sh
10+
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -ex
3+
4+ # force a failure if there's no tag
5+ git describe --tags
6+ # now get the tag
7+ CURRENT_TAG=$( git describe --tags | cut -f2 -dv)
8+ # convert v0.2.12-2-g50254a9 to 0.2.12
9+ CURRENT_TAG_VERSION=$( git describe --tags | cut -f1 -d' -' | cut -f2 -dv)
10+ # if there's a hash on the tag, then this is not a release tagged commit
11+ if [ " $CURRENT_TAG " != " $CURRENT_TAG_VERSION " ]; then
12+ echo " Current tag version is not a release tag, cut a new release if you want to publish."
13+ exit 1
14+ fi
15+
16+ sed --in-place -E " s/\" version\" : \" .+\" /\" version\" : \" ${CURRENT_TAG_VERSION} \" /" package.json
17+
18+ exit 0
Original file line number Diff line number Diff line change 11{
22 "name" : " aws-iot-device-sdk" ,
33 "description" : " AWS IoT Node.js SDK for Embedded Devices" ,
4- "version" : " 2.2.8 " ,
4+ "version" : " 2.0.0-dev " ,
55 "author" : {
66 "name" : " Amazon Web Services" ,
77 "email" : " " ,
You can’t perform that action at this time.
0 commit comments