-
Notifications
You must be signed in to change notification settings - Fork 1
[BUG] check update seems to be wrong #37
Copy link
Copy link
Closed
Labels
auto-triage-skipauto triage action will skip this issue, keeping it open for a long timeauto triage action will skip this issue, keeping it open for a long timebugSomething isn't workingSomething isn't working
Description
The slack_cli_hooks versions
Python runtime version
OS info
Describe the bug
If the installed package is the latest version, it seem like the check_update script reports this as there being a newer version
Steps to reproduce
- pip install slack-cli-hooks
- got to a valid project
- python3 -m slack_cli_hooks.hooks.check_update | jq .
Expected result
{
"name": "Slack Bolt",
"url": "https://api.slack.com/automation/changelog",
"releases": [
{
"name": "slack_cli_hooks",
"current": "0.0.0",
"latest": "0.0.0",
"update": false,
"breaking": false
},
{
"name": "slack_bolt",
"current": "1.19.0",
"latest": "1.18.1",
"update": false,
"breaking": false
},
{
"name": "slack_sdk",
"current": "3.27.1",
"latest": "3.27.1",
"update": false,
"breaking": false
}
]
}Actual result
{
"name": "Slack Bolt",
"url": "https://api.slack.com/automation/changelog",
"releases": [
{
"name": "slack_cli_hooks",
"current": "0.0.0",
"latest": "0.0.0",
"update": true,
"breaking": false
},
{
"name": "slack_bolt",
"current": "1.19.0",
"latest": "1.18.1",
"update": false,
"breaking": false
},
{
"name": "slack_sdk",
"current": "3.27.1",
"latest": "3.27.1",
"update": false,
"breaking": false
}
]
}└─[$] <git:(main*)> hermes upgrade
🛠️ An update from Slack Bolt is available:
› slack_cli_hooks
0.0.0 → 0.0.0
For more information about this update, visit:
https://api.slack.com/automation/changelogRequirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
auto-triage-skipauto triage action will skip this issue, keeping it open for a long timeauto triage action will skip this issue, keeping it open for a long timebugSomething isn't workingSomething isn't working