[PR #1146] [CLOSED] Update docs to use the latest version of ntfy dynamically #1523

Closed
opened 2026-05-07 01:02:30 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1146
Author: @dpi0
Created: 7/4/2024
Status: Closed

Base: mainHead: Update-docs-with-latest-versions


📝 Commits (1)

  • 81cb8be Update docs to use the latest version of ntfy dynamically

📊 Changes

1 file changed (+50 additions, -33 deletions)

View changed files

📝 docs/install.md (+50 -33)

📄 Description

This PR updates the docs to dynamically fetch the latest version of ntfy instead of hardcoding the version number. This ensures that the documentation always reflects the latest release, making it easier for users to stay up-to-date.

Changes

  • Modified the script in the documentation to use curl to fetch the latest version number from GitHub API.
  • Updated the download commands to use the fetched version number.

Testing

  • Verified that the script correctly fetches the latest version number.
  • Confirmed that the download link is properly created and the file is successfully downloaded.

This idea was inspired by the Lazygit README in the Ubuntu section.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1146 **Author:** [@dpi0](https://github.com/dpi0) **Created:** 7/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Update-docs-with-latest-versions` --- ### 📝 Commits (1) - [`81cb8be`](https://github.com/binwiederhier/ntfy/commit/81cb8be2ba701e84355f231d91673b3655bcdd03) Update docs to use the latest version of ntfy dynamically ### 📊 Changes **1 file changed** (+50 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `docs/install.md` (+50 -33) </details> ### 📄 Description This PR updates the docs to dynamically fetch the latest version of `ntfy` instead of hardcoding the version number. This ensures that the documentation always reflects the latest release, making it easier for users to stay up-to-date. **Changes** - Modified the script in the documentation to use `curl` to fetch the latest version number from GitHub API. - Updated the download commands to use the fetched version number. **Testing** - Verified that the script correctly fetches the latest version number. - Confirmed that the download link is properly created and the file is successfully downloaded. This idea was inspired by the [Lazygit](https://github.com/jesseduffield/lazygit) README in the [Ubuntu](https://github.com/jesseduffield/lazygit?tab=readme-ov-file#ubuntu) section. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:02:30 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1523
No description provided.