Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

polar update fails on darwin-arm64: No release asset found

Open
#18 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell, typescript
Domain
cli, release

Research direction

Start by tracing the CLI update command and the install.sh script, focusing on how the darwin-arm64 asset and release version are selected. Reproduce the update from v1.2.0 to v1.3.6 and verify that it resolves polar-darwin-arm64.zip and uses the semver tag v1.3.6; confirm both the CLI update and install script succeed.

Written by the indexing model from the issue text.

Description

Description

Running polar update on macOS (darwin-arm64) fails with:

Error: No release asset found for platform: darwin-arm64

This was reproduced when attempting to update from v1.2.0 to v1.3.6.

The re-install workaround (curl -fsSL https://polar.sh/install.sh | bash) also fails because the install script fetches the full GitHub release title/description as the version string instead of the semver tag (e.g. v1.3.6), causing a malformed URL:

==> Version: Adds a logout command & better handling of clearing tokens from polar folder.

**Full Changelog**: https://github.com/polarsource/cli/compare/v1.3.5...v1.3.6
==> Downloading polar Adds a logout command & better handling of clearing tokens from polar folder...
curl: (3) URL rejected: Malformed input to a URL function
error: Download failed. Check if a release exists for your platform: darwin-arm64

Steps to Reproduce

  1. Install polar CLI v1.2.0 on macOS (Apple Silicon / darwin-arm64)
  2. Run polar update

Expected Behavior

CLI updates from v1.2.0 to the latest version (v1.3.6).

Actual Behavior

polar update errors with No release asset found for platform: darwin-arm64, even though polar-darwin-arm64.zip exists in the release assets.

The self-hosted install script also fails due to the version string being set to the full release notes text rather than the tag.

Workaround

Manually download and replace the binary:

curl -fsSL https://github.com/polarsource/cli/releases/download/v1.3.6/polar-darwin-arm64.zip -o /tmp/polar.zip
unzip -o /tmp/polar.zip -d /tmp/polar-update
chmod +x /tmp/polar-update/polar
cp /tmp/polar-update/polar /usr/local/bin/polar

Environment

  • OS: macOS (darwin-arm64 / Apple Silicon)
  • Polar CLI version: v1.2.0 → v1.3.6
Dominant language
TypeScript
Stars
13
Forks
14
Avg merge
23h 49m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from polarsource/cli

All issues in polarsource/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.