Publish Windows releases (cloud-agent)
- Dominant language
- Go
- Stars
- 13
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Related to cdr/code-server#1397.
This will make it possible to run --link with Windows out of the box.
## A current workaround (for --link on Windows) is to build it manually:
1. Install go
2. Install code-server via yarn/npm (if you haven't already)
3. Clone this repo:
```console
git clone https://github.com/cdr/cloud-agent.git
cd cloud-agent
```
4. Build cloud-agent and move to the global module.
Replace `v0.2.3` with the latest cloud-agent [release tag](https://github.com/cdr/cloud-agent/releases):
```console
# if you installed via yarn
go build -v -o $(yarn global dir)/node_modules/code-server/lib/coder-cloud-agent.exe -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=v0.2.3"
# if you installed via npm
go build -v -o $(npm config get prefix)/node_modules/code-server/lib/coder-cloud-agent.exe -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=v0.2.3"
````
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the repository's current release or build workflow and compare it with the documented Go workaround, including the Windows executable name and version-tag linker flag. Done means a Windows release artifact is published so users can run --link without building cloud-agent manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100