Skip to content

Commit

Permalink
Fix an extremely dumb typo and only build on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyWing committed Dec 6, 2020
1 parent 39ad764 commit d336ded
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ dist: focal
# Only the main branch and tags
branches:
only:
- master
- /^v\d+\.\d+\.\d+.*$/

language: node_js
Expand Down
2 changes: 1 addition & 1 deletion tools/travisPostBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d336ded

Please sign in to comment.