mirror of
https://github.com/coder/code-server.git
synced 2026-05-07 12:57:26 +02:00
Compare commits
5 Commits
v4.9.0-rc.
...
v4.9.0-rc.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f66360646 | ||
|
|
130f52e6b7 | ||
|
|
c9279ccbe4 | ||
|
|
fc4d2b532f | ||
|
|
df49838739 |
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -296,7 +296,7 @@ jobs:
|
|||||||
name: Run e2e tests
|
name: Run e2e tests
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -322,6 +322,8 @@ jobs:
|
|||||||
echo "Updating version in lib/vscode/product.json"
|
echo "Updating version in lib/vscode/product.json"
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
jq '.codeServerVersion = "$VERSION"' release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json
|
jq '.codeServerVersion = "$VERSION"' release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json
|
||||||
|
# Ensure it has the same permissions as before
|
||||||
|
chmod 755 release/lib/vscode/product.json
|
||||||
|
|
||||||
- name: Compress release package
|
- name: Compress release package
|
||||||
run: tar -czf package.tar.gz release
|
run: tar -czf package.tar.gz release
|
||||||
|
|||||||
@@ -42,6 +42,12 @@ main() {
|
|||||||
|
|
||||||
pushd lib/vscode
|
pushd lib/vscode
|
||||||
|
|
||||||
|
if [[ ! ${VERSION-} ]]; then
|
||||||
|
echo "VERSION not set. Please set before running this script:"
|
||||||
|
echo "VERSION='0.0.0' yarn build:vscode"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Set the commit Code will embed into the product.json. We need to do this
|
# Set the commit Code will embed into the product.json. We need to do this
|
||||||
# since Code tries to get the commit from the `.git` directory which will fail
|
# since Code tries to get the commit from the `.git` directory which will fail
|
||||||
# as it is a submodule.
|
# as it is a submodule.
|
||||||
@@ -90,6 +96,8 @@ main() {
|
|||||||
EOF
|
EOF
|
||||||
) > product.json
|
) > product.json
|
||||||
|
|
||||||
|
chmod +x product.json
|
||||||
|
|
||||||
# Any platform here works since we will do our own packaging. We have to do
|
# Any platform here works since we will do our own packaging. We have to do
|
||||||
# this because we have an NPM package that could be installed on any platform.
|
# this because we have an NPM package that could be installed on any platform.
|
||||||
# The correct platform dependencies and scripts will be installed as part of
|
# The correct platform dependencies and scripts will be installed as part of
|
||||||
|
|||||||
Reference in New Issue
Block a user