dapr / dapr/cli

Update the CLI install script release source

Open
#1,454 8 comments 0 reactions 1 assignee Claimed by @mikeee View on GitHub
kind/bug pinned
Dominant language
Go
Stars
353
Forks
221
Avg merge
3d 8h
Merged PRs (30d)
2

Description

## Expected Behavior

Release versions should be retrieved successfully.

## Actual Behavior

Users may hit the 60 requests per hour limit (per IP) when calling the github api unauthenticated.

## Steps to Reproduce the Problem

Call any github api endpoint 60 times, run the install script which fails to find a release version for the CLI and the invalid version is not handled.

## Proposed Solution

A "version" branch is set up and maintained by a workflow which is triggered by dispatch (primarily intended for the release job to trigger this workflow on completion).
The version branch will contain a docs folder with a single file containing the latest version tag for the CLI and will be served by gh-pages or an azure static site (with preference for gh-pages).
The install scripts will no longer hit the API for the latest tag.

## Release Note

RELEASE NOTE: **FIX** Dapr CLI install/update release version retrieval

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.