Skip to content

Commit ca4b034

Browse files
committed
Update versioning format
1 parent 8d692de commit ca4b034

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ language: node_js
22
node_js:
33
- 8.15.0
44
env:
5-
- VERSION="1.32.0-$TRAVIS_BUILD_NUMBER"
5+
- VSCODE_VERSION="1.32.0"
6+
- MAJOR_VERSION="1"
7+
- VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION"
68
matrix:
79
include:
810
- os: linux

build/tasks.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const libPath = path.join(__dirname, "../lib");
1010
const vscodePath = path.join(libPath, "vscode");
1111
const pkgsPath = path.join(__dirname, "../packages");
1212
const defaultExtensionsPath = path.join(libPath, "VSCode-linux-x64/resources/app/extensions");
13-
const vscodeVersion = "1.32.0";
13+
const vscodeVersion = process.env.VSCODE_VERSION || "1.32.0";
1414

1515
const buildServerBinary = register("build:server:binary", async (runner) => {
1616
await ensureInstalled();
@@ -236,7 +236,7 @@ register("package", async (runner, releaseTag) => {
236236

237237
const releasePath = path.resolve(__dirname, "../release");
238238

239-
const archiveName = `code-server-${releaseTag}-${os.platform()}-${os.arch()}`;
239+
const archiveName = `code-server${releaseTag}-${os.platform()}-${os.arch()}`;
240240
const archiveDir = path.join(releasePath, archiveName);
241241
fse.removeSync(archiveDir);
242242
fse.mkdirpSync(archiveDir);

0 commit comments

Comments
 (0)