From d336ded04c7dd8deafb2bd892a0e07600715a041 Mon Sep 17 00:00:00 2001 From: NotMyWing Date: Sun, 6 Dec 2020 18:39:27 +1100 Subject: [PATCH] Fix an extremely dumb typo and only build on tags --- .travis.yml | 1 - tools/travisPostBuild.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 939b7e8..78e052a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ dist: focal # Only the main branch and tags branches: only: - - master - /^v\d+\.\d+\.\d+.*$/ language: node_js diff --git a/tools/travisPostBuild.js b/tools/travisPostBuild.js index 0b699f3..79d31df 100644 --- a/tools/travisPostBuild.js +++ b/tools/travisPostBuild.js @@ -19,7 +19,7 @@ function rewriteVersion(cb) { } if (process.env.WORKSHOP_ID) { - contents = contents.replace("{{CI_WORSHOP_ID}}", process.env.WORKSHOP_ID); + contents = contents.replace("{{CI_WORKSHOP_ID}}", process.env.WORKSHOP_ID); } file.contents = Buffer.from(contents);