Skip to content

feat(script): Add update scripts#1014

Merged
perber merged 2 commits into
perber:mainfrom
Hugo-Galley:feature/add-update-scripts
May 20, 2026
Merged

feat(script): Add update scripts#1014
perber merged 2 commits into
perber:mainfrom
Hugo-Galley:feature/add-update-scripts

Conversation

@Hugo-Galley

Copy link
Copy Markdown
Contributor

This PR follows issue #994.

For now, the script is focused on updating a Docker image.

Could you test it on your side as well, especially on Windows, to make sure everything works correctly?

Thanks

@Hugo-Galley
Hugo-Galley requested a review from perber as a code owner May 20, 2026 09:37
Copilot AI review requested due to automatic review settings May 20, 2026 09:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a Bash-based updater for LeafWiki that fetches the latest GitHub release binary, installs it into /usr/local/bin, and restarts the leafwiki systemd service.

Changes:

  • Introduces update.sh to resolve latest version from GitHub Releases.
  • Downloads the versioned Linux binary for the detected architecture and installs it.
  • Reloads systemd and restarts the leafwiki service, then prints a completion banner.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread update.sh Outdated
Comment thread update.sh Outdated
Comment thread update.sh
Comment thread update.sh
Comment thread update.sh Outdated
@Hugo-Galley
Hugo-Galley force-pushed the feature/add-update-scripts branch 3 times, most recently from 3996959 to b2efa39 Compare May 20, 2026 10:35
Comment thread update.sh Outdated
Comment thread update.sh Outdated
Comment thread update.sh Outdated
@Hugo-Galley
Hugo-Galley force-pushed the feature/add-update-scripts branch from b2efa39 to c000728 Compare May 20, 2026 19:36
@Hugo-Galley

Copy link
Copy Markdown
Contributor Author

@perber I push new changes, it's ok for you ?

@Hugo-Galley
Hugo-Galley requested a review from perber May 20, 2026 19:37
@Hugo-Galley
Hugo-Galley force-pushed the feature/add-update-scripts branch from e097f5f to 4b46657 Compare May 20, 2026 19:39
@perber
perber merged commit 5a6591e into perber:main May 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants