Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to use the latest version of ntfy dynamically #1146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dpi0
Copy link

@dpi0 dpi0 commented Jul 4, 2024

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.

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.

1 participant