lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

New patch version available 3.21.1

Open V999TEC opened this issue 3 years ago • 0 comments

Summary

Running ttn-lw-cli version 3.21.1 for the commands tried I get

INFO New patch version available {"current": "3.21.0", "docs_url": "https://www.thethingsindustries.com/docs/getting-started/upgrading/", "latest": "3.21.1"}

Steps to Reproduce

  1. authenticate by logging in with ttn-lw-cli
  2. check the version of ttn-lw-cli
  3. execute a command and note output gives an INFO about upgrading to 3.21.1

Current Result

ttn-lw-cli version The Things Network Command-line Interface: ttn-lw-cli Version: 3.21.1 Build date: 2022-08-24T16:05:59Z Git commit: 6cf0efd63 Go version: go1.18.5 OS/Arch: windows/amd64

Now any command, this is just an example:

>echo 40F2BD9E00004B01020827471A8F517ACC133C4750A05974FB70E0E5B02637539B07BE60 | ttn-lw-cli lorawan decode --input-format hex
WARN    No AppSKey provided, skipping application payload decryption
{
  "message": {
    "m_hdr": {
      "m_type": "UNCONFIRMED_UP"
    },
    "mic": "mwe+YA==",
    "mac_payload": {
      "f_hdr": {
        "dev_addr": "009EBDF2",
        "f_ctrl": {},
        "f_cnt": 331
      },
      "f_port": 2,
      "frm_payload": "CCdHGo9ReswTPEdQoFl0+3Dg5bAmN1M="
    }
  }
}
INFO    New patch version available     {"current": "3.21.0", "docs_url": "https://www.thethingsindustries.com/docs/getting-started/upgrading/", "latest": "3.21.1"}

Expected Result

I do not expect to see the INFO inviting me to upgrade to 3.21.1

Relevant Logs

No response

URL

No response

Deployment

The Things Stack Community Edition

The Things Stack Version

3.21.1

Client Name and Version

The Things Network Command-line Interface: ttn-lw-cli
Version:             3.21.1
Build date:          2022-08-24T16:05:59Z
Git commit:          6cf0efd63
Go version:          go1.18.5
OS/Arch:             windows/amd64

Other Information

No response

Proposed Fix

Looks like a version check should be corrected

Contributing

  • [ ] I can help by doing more research.
  • [ ] I can help by implementing a fix after the proposal above is approved.
  • [ ] I can help by testing the fix before it's released.

Code of Conduct

V999TEC avatar Aug 26 '22 07:08 V999TEC