Skip to content

Commit

Permalink
FIX: wrong latest release asset URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Jul 30, 2023
1 parent ebe28d4 commit 6ee1694
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- A workflow creates a package and then attaches it to the release assets.
- Thus, redundant files are removed from the distribution.
- The latest release distribution URL has changed to
`https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip`.
`https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip`
- Once you upgrade the plugin from v2 or v1 you will see that the control buttons are gone.
- Instead, there will be a warning button ⚠️ having instructions on further steps:
1. Don't panic.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Install via the bundled [Plugin Manager](https://docs.octoprint.org/en/master/bu
or manually using this URL:

```
https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip
https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip
```

In case you want to enable the plugin for user groups other than admins and users (operators), you need to
Expand Down
4 changes: 2 additions & 2 deletions octoprint_octorelay/static/js/octorelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* WARNING: This is a stub for those who installs the plugin from sources
*
* PLEASE NOTE the new URL for installing the distributed package:
* @link https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip
* @link https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip
*
* The actual JavaScript is compiled from TypeScript during the execution of release workflow.
*/
Expand All @@ -24,7 +24,7 @@ $(() => {
'However, there is no cause for concern: please proceed to the "Software update" section of the ' +
"OctoPrint settings and update OctoRelay one more time. Sorry for the inconvenience. " +
"As a last resort, you can always install it manually using the following URL: " +
"https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip");
"https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip");
dialog
.find(".btn-cancel")
.text("Close")
Expand Down
4 changes: 2 additions & 2 deletions ts/stub/octorelay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* WARNING: This is a stub for those who installs the plugin from sources
*
* PLEASE NOTE the new URL for installing the distributed package:
* @link https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip
* @link https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip
*
* The actual JavaScript is compiled from TypeScript during the execution of release workflow.
*/
Expand All @@ -25,7 +25,7 @@ $(() => {
'However, there is no cause for concern: please proceed to the "Software update" section of the ' +
"OctoPrint settings and update OctoRelay one more time. Sorry for the inconvenience. " +
"As a last resort, you can always install it manually using the following URL: " +
"https://github.com/borisbu/OctoRelay/releases/download/latest/release.zip"
"https://github.com/borisbu/OctoRelay/releases/latest/download/release.zip"
);
dialog
.find(".btn-cancel")
Expand Down

0 comments on commit 6ee1694

Please sign in to comment.