Compare commits

..

6 Commits

Author SHA1 Message Date
b7068b7b53 2.1.18 2016-06-05 08:06:35 +02:00
1e5b56a388 fix 2016-06-05 08:06:32 +02:00
786de4ae18 2.1.17 2016-06-05 08:00:53 +02:00
62ee8a26a4 fix 2016-06-05 08:00:46 +02:00
f544aef054 2.1.16 2016-06-05 07:50:11 +02:00
cb6867dbde fix 2016-06-05 07:50:04 +02:00
4 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
image: hosttoday/ht-docker-node:lts
stages:
- test
- release
- test
- trigger
before_script:

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "npmci",
"version": "2.1.15",
"version": "2.1.18",
"description": "",
"main": "dist/index.js",
"bin": {

View File

@@ -15,7 +15,7 @@ export let build = function(){
}
let readDockerfiles = function(){
return plugins.through2(function(file,enc,cb){
return plugins.through2.obj(function(file,enc,cb){
let myDockerfile = new Dockerfile({
filePath:file.path,
read:true
@@ -108,7 +108,7 @@ let dockerFileVersion = function(dockerfileNameArg:string):string{
let versionString:string;
let versionRegex = /Dockerfile_([a-zA-Z0-9\.]*)$/;
let regexResultArray = versionRegex.exec(dockerfileNameArg);
if(regexResultArray.length = 2){
if(regexResultArray && regexResultArray.length == 2){
versionString = regexResultArray[1];
} else {
versionString = "latest";