Update versioning format
This commit is contained in:
parent
8d692ded4a
commit
ca4b0346cb
@ -2,7 +2,9 @@ language: node_js
|
|||||||
node_js:
|
node_js:
|
||||||
- 8.15.0
|
- 8.15.0
|
||||||
env:
|
env:
|
||||||
- VERSION="1.32.0-$TRAVIS_BUILD_NUMBER"
|
- VSCODE_VERSION="1.32.0"
|
||||||
|
- MAJOR_VERSION="1"
|
||||||
|
- VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION"
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -10,7 +10,7 @@ const libPath = path.join(__dirname, "../lib");
|
|||||||
const vscodePath = path.join(libPath, "vscode");
|
const vscodePath = path.join(libPath, "vscode");
|
||||||
const pkgsPath = path.join(__dirname, "../packages");
|
const pkgsPath = path.join(__dirname, "../packages");
|
||||||
const defaultExtensionsPath = path.join(libPath, "VSCode-linux-x64/resources/app/extensions");
|
const defaultExtensionsPath = path.join(libPath, "VSCode-linux-x64/resources/app/extensions");
|
||||||
const vscodeVersion = "1.32.0";
|
const vscodeVersion = process.env.VSCODE_VERSION || "1.32.0";
|
||||||
|
|
||||||
const buildServerBinary = register("build:server:binary", async (runner) => {
|
const buildServerBinary = register("build:server:binary", async (runner) => {
|
||||||
await ensureInstalled();
|
await ensureInstalled();
|
||||||
@ -236,7 +236,7 @@ register("package", async (runner, releaseTag) => {
|
|||||||
|
|
||||||
const releasePath = path.resolve(__dirname, "../release");
|
const releasePath = path.resolve(__dirname, "../release");
|
||||||
|
|
||||||
const archiveName = `code-server-${releaseTag}-${os.platform()}-${os.arch()}`;
|
const archiveName = `code-server${releaseTag}-${os.platform()}-${os.arch()}`;
|
||||||
const archiveDir = path.join(releasePath, archiveName);
|
const archiveDir = path.join(releasePath, archiveName);
|
||||||
fse.removeSync(archiveDir);
|
fse.removeSync(archiveDir);
|
||||||
fse.mkdirpSync(archiveDir);
|
fse.mkdirpSync(archiveDir);
|
||||||
|
Reference in New Issue
Block a user