Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gzupanda
code-server
提交
a4a03c14
C
code-server
项目概览
gzupanda
/
code-server
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
code-server
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
a4a03c14
编写于
10月 12, 2020
作者:
A
Anmol Sethi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix CI
上级
d7ba9ae6
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
6 addition
and
2 deletion
+6
-2
ci/build/build-release.sh
ci/build/build-release.sh
+1
-1
ci/build/npm-postinstall.sh
ci/build/npm-postinstall.sh
+4
-0
ci/build/release-github-assets.sh
ci/build/release-github-assets.sh
+1
-1
未找到文件。
ci/build/build-release.sh
浏览文件 @
a4a03c14
...
@@ -25,7 +25,6 @@ main() {
...
@@ -25,7 +25,6 @@ main() {
rsync README.md
"
$RELEASE_PATH
"
rsync README.md
"
$RELEASE_PATH
"
rsync LICENSE.txt
"
$RELEASE_PATH
"
rsync LICENSE.txt
"
$RELEASE_PATH
"
rsync ./lib/vscode/ThirdPartyNotices.txt
"
$RELEASE_PATH
"
rsync ./lib/vscode/ThirdPartyNotices.txt
"
$RELEASE_PATH
"
rsync ./lib/coder-cloud-agent
"
$RELEASE_PATH
/lib"
# code-server exports types which can be imported and used by plugins. Those
# code-server exports types which can be imported and used by plugins. Those
# types import ipc.d.ts but it isn't included in the final vscode build so
# types import ipc.d.ts but it isn't included in the final vscode build so
...
@@ -60,6 +59,7 @@ EOF
...
@@ -60,6 +59,7 @@ EOF
if
[
"
$KEEP_MODULES
"
=
1
]
;
then
if
[
"
$KEEP_MODULES
"
=
1
]
;
then
rsync node_modules/
"
$RELEASE_PATH
/node_modules"
rsync node_modules/
"
$RELEASE_PATH
/node_modules"
rsync ./lib/coder-cloud-agent
"
$RELEASE_PATH
/lib"
fi
fi
}
}
...
...
ci/build/npm-postinstall.sh
浏览文件 @
a4a03c14
...
@@ -24,6 +24,10 @@ main() {
...
@@ -24,6 +24,10 @@ main() {
;;
;;
esac
esac
OS
=
"
$(
uname
|
tr
'[:upper:]'
'[:lower:]'
)
"
curl
-fsSL
"https://storage.googleapis.com/coder-cloud-releases/agent/latest/
$OS
/cloud-agent"
-o
./lib/coder-cloud-agent
chmod
+x ./lib/coder-cloud-agent
if
!
vscode_yarn
;
then
if
!
vscode_yarn
;
then
echo
"You may not have the required dependencies to build the native modules."
echo
"You may not have the required dependencies to build the native modules."
echo
"Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"
echo
"Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"
...
...
ci/build/release-github-assets.sh
浏览文件 @
a4a03c14
...
@@ -11,7 +11,7 @@ main() {
...
@@ -11,7 +11,7 @@ main() {
source
./ci/lib.sh
source
./ci/lib.sh
download_artifact release-packages ./release-packages
download_artifact release-packages ./release-packages
local
assets
=(
./release-packages/code-server
*
"
$VERSION
"
*
{
.tar.gz,.
zip,.
deb,.rpm
})
local
assets
=(
./release-packages/code-server
*
"
$VERSION
"
*
{
.tar.gz,.deb,.rpm
})
for
i
in
"
${
!assets[@]
}
"
;
do
for
i
in
"
${
!assets[@]
}
"
;
do
assets[
$i
]=
"--attach=
${
assets
[
$i
]
}
"
assets[
$i
]=
"--attach=
${
assets
[
$i
]
}
"
done
done
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录