Skip to content

Commit

Permalink
Update versioning format
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecarbs committed Mar 26, 2019
1 parent 8d692de commit ca4b034
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ language: node_js
node_js:
- 8.15.0
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:
include:
- os: linux
Expand Down
4 changes: 2 additions & 2 deletions build/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const libPath = path.join(__dirname, "../lib");
const vscodePath = path.join(libPath, "vscode");
const pkgsPath = path.join(__dirname, "../packages");
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) => {
await ensureInstalled();
Expand Down Expand Up @@ -236,7 +236,7 @@ register("package", async (runner, releaseTag) => {

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);
fse.removeSync(archiveDir);
fse.mkdirpSync(archiveDir);
Expand Down

0 comments on commit ca4b034

Please sign in to comment.