[GH-ISSUE #4201] hack/download.sh using latest release page #3307

Closed
opened 2026-05-05 14:08:02 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @StevenLi-phoenix on GitHub (May 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4201

Describe the feature request

The code for download.sh used the release page and do a search on that page.
Is it possible to use the latest release page to identify the version?

Describe alternatives you've considered

Curl from url https://github.com/fatedier/frp/releases/latest instead of doing whole release page search.

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @StevenLi-phoenix on GitHub (May 6, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4201 ### Describe the feature request The code for [download.sh](https://github.com/fatedier/frp/blob/e81b36c5ba3ee0b4b88ed8832f4a302ed3289bda/hack/download.sh#L15) used the release page and do a search on that page. Is it possible to use the latest release page to identify the version? ### Describe alternatives you've considered Curl from url https://github.com/fatedier/frp/releases/latest instead of doing whole release page search. ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (May 6, 2024):

No. Although it is correct most of the time, here only the official version number will be downloaded, excluding rc, beta, etc.

In addition, this script is only used for testing scenarios and is not available to the public. Please do not use it in a production environment as it may be modified or removed in the future.

<!-- gh-comment-id:2095194515 --> @fatedier commented on GitHub (May 6, 2024): No. Although it is correct most of the time, here only the official version number will be downloaded, excluding rc, beta, etc. In addition, this script is only used for testing scenarios and is not available to the public. Please do not use it in a production environment as it may be modified or removed in the future.
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: github-starred/frp#3307
No description provided.