coder / coder/cloud-agent

Publish Windows releases (cloud-agent)

未关闭
#17 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
13
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

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"
````

贡献指南

这个仓库没有索引到贡献指南

调研方向

未指定任何文件或测试。首先定位仓库当前的 release 或 build workflow,并将其与文档中记录的 Go workaround 进行比较,包括 Windows 可执行文件名称和 version-tag linker flag。完成的标准是发布一个 Windows release artifact,使用户无需手动构建 cloud-agent 即可运行 --link。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
release
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。