Skip to content

Commit 2d6dc54

Browse files
committed
Bump version to 2.0.0 and update build and release workflows
1 parent c01aeef commit 2d6dc54

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
strategy:
1515
matrix:
1616
node-version: [
17-
10,
18-
12,
19-
14,
17+
#10,
18+
#12,
19+
#14,
20+
20,
2021
]
2122
steps:
2223
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
- '[0-9]+.[0-9]+.[0-9]+'
77

88
jobs:
99
build:

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,5 @@
184184
}
185185
},
186186
"short_name": "Virtual",
187-
"version": "0.11.0"
187+
"version": "2.0.0"
188188
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "virtual-things-adapter",
3-
"version": "0.11.0",
3+
"version": "2.0.0",
44
"description": "WebThings Gateway Virtual Things Adapter",
55
"main": "index.js",
66
"scripts": {

package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ rm -rf node_modules
44

55
npm install --production
66

7+
# Remove internal package-lock cache which can cause checksum errors at runtime
8+
rm -f node_modules/.package-lock.json
9+
710
shasum --algorithm 256 manifest.json package.json *.js LICENSE > SHA256SUMS
811
find static -type f -exec shasum --algorithm 256 {} \; >> SHA256SUMS
912

0 commit comments

Comments
 (0)