Skip to content

Commit fd5c596

Browse files
committed
Fixes for release
1 parent ab081cd commit fd5c596

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
name: release-packages
137137
path: ./release-packages
138138
- name: Run ./ci/steps/build-docker-image.sh
139-
uses: ./ci/images/debian8
139+
uses: ./ci/images/centos7
140140
with:
141141
args: ./ci/steps/build-docker-image.sh
142142
- name: Upload release image

ci/build/build-packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ release_archive() {
3030
local release_name="code-server-$VERSION-$OS-$ARCH"
3131
if [[ $OS == "linux" ]]; then
3232
tar -czf "release-packages/$release_name.tar.gz" --transform "s/^\.\/release-standalone/$release_name/" ./release-standalone
33-
elif [[ $OS == "macos" && $ARCH == "x86_64" ]]; then
33+
elif [[ "$OS" == "darwin" && "$ARCH" == "x86_64" ]]; then
3434
# Just exists to make autoupdating from 3.2.0 work again.
3535
mv ./release-standalone "./$release_name"
3636
zip -r "release-packages/$release_name.zip" "./$release_name"

ci/images/centos7/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
2222
ENV GO111MODULE=on
2323
RUN go get mvdan.cc/sh/v3/cmd/shfmt
2424
RUN go get github.com/goreleaser/nfpm/cmd/nfpm
25+
26+
RUN curl -fsSL https://get.docker.com | sh

0 commit comments

Comments
 (0)