Skip to content

Commit 3b3815e

Browse files
committed
be able to release again D:
1 parent 1f78818 commit 3b3815e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

karma.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ var webpack = require('webpack')
22
var path = require('path')
33

44
module.exports = function (config) {
5+
if (process.env.RELEASE)
6+
config.singleRun = true
7+
58
// Browsers to run on BrowserStack
69
var customLaunchers = {
710
BS_Chrome: {

scripts/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash -e
2+
export RELEASE=1
23

34
if ! [ -e scripts/release.sh ]; then
45
echo >&2 "Please run scripts/release.sh from the repo root"
@@ -26,7 +27,7 @@ validate_semver $next_version
2627

2728
next_ref="v$next_version"
2829

29-
npm test -- --single-run
30+
npm test
3031

3132
update_version 'package.json' $next_version
3233

0 commit comments

Comments
 (0)