@thinremote/thinr-cli 1.0.0-alpha.1 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ name: "publish"
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master, develop ]
5
+ branches: [ main, develop ]
6
6
 
7
7
  jobs:
8
8
  publish:
@@ -29,7 +29,7 @@ jobs:
29
29
 
30
30
  - name: Get tag version
31
31
  run: |
32
- echo "tag_version=`awk '/^## \[[0-9]+/' CHANGELOG.md | awk 'NR==1 && -F"\[\]" {print $2}' 2>/dev/null | tail -c +2 | head -c -2`" >> $GITHUB_ENV
32
+ echo "tag_version=`cat package.json | jq '.version' | tr -d '"'`" >> $GITHUB_ENV
33
33
 
34
34
  - name: Check if tag is for develop and if it already exists
35
35
  run: |
@@ -43,7 +43,7 @@ jobs:
43
43
  break;
44
44
  fi
45
45
  done
46
- elif [ ${{ env.branch }} == 'master' ]; then
46
+ elif [ ${{ env.branch }} == 'main' ]; then
47
47
  echo "npm_tag_version=latest" >> $GITHUB_ENV
48
48
  elif [ `git tag --list | grep -q ${{ env.tag_version }}` -ne 0 ]; then exit 1; fi
49
49
 
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # ThingR - ThingRemote CLI
1
+ # Thinr - ThinRemote CLI
2
2
 
3
- A modern command-line interface for managing remote devices through the ThingRemote platform.
3
+ ![Thinr CLI](https://s3.us-east-1.amazonaws.com/thinremote.io.files/share-image.svg)
4
4
 
5
- ![ThingR CLI](https://raw.githubusercontent.com/Thin-Remote/thinr/main/assets/thinr-cli.png)
5
+ A modern command-line interface for managing remote devices through the ThinRemote platform.
6
6
 
7
7
  ## Features
8
8
 
@@ -17,7 +17,7 @@ A modern command-line interface for managing remote devices through the ThingRem
17
17
  ### From NPM (recommended)
18
18
 
19
19
  ```bash
20
- npm install -g thinr-cli
20
+ npm install -g @thinremote/thinr-cli
21
21
  ```
22
22
 
23
23
  ### From Source
@@ -192,7 +192,7 @@ npm test
192
192
  ## License
193
193
 
194
194
  <a href="http://opensource.org/">
195
- <img style="float: right;" width="100px" height="137px" src="/assets/OSI_Standard_Logo_0.svg">
195
+ <img style="float: right;" width="100px" height="137px" src="https://opensource.org/wp-content/uploads/2009/06/OSI_Standard_Logo_0.svg">
196
196
  </a>
197
197
 
198
198
  The plugin is licensed under the [MIT License](http://opensource.org/licenses/MIT):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinremote/thinr-cli",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "description": "CLI for ThinRemote - Remote management for IoT devices",
5
5
  "main": "bin/thinr.js",
6
6
  "bin": {