Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyO256 committed Dec 25, 2018
1 parent 57ef7b0 commit c6cc227
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*

find-files-by-patterns-v*.tgz
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

19 changes: 17 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
language: node_js
node_js:
- "10"

branches:
except:
- gh-pages

cache: yarn

stages:
- build
- test
- coverage
- name: deploy
if: branch = master AND tag = true
- deploy

jobs:
include:
- stage: build
Expand All @@ -28,6 +35,7 @@ jobs:
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
- ./cc-test-reporter after-build
- stage: deploy
if: tag IS present
os: linux
node_js: "10"
script:
Expand All @@ -40,15 +48,22 @@ jobs:
local_dir: ./doc/
keep-history: true
skip_cleanup: true
on:
tags: true
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: find-files-by-patterns-*.tgz
skip_cleanup: true
on:
tags: true
- provider: npm
email: ouimetmarcantoine@gmail.com
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true

notifications:
email:
on_success: always
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# find-files-by-patterns

![Node Version](https://img.shields.io/badge/node-%3E%3D%2010.0.0-green.svg)
[![Build Status](https://travis-ci.org/MartyO256/find-files-by-patterns.svg?branch=development)](https://travis-ci.org/MartyO256/find-files-by-patterns)
[![Coverage Status](https://coveralls.io/repos/github/MartyO256/find-files-by-patterns/badge.svg?branch=master)](https://coveralls.io/github/MartyO256/find-files-by-patterns?branch=development)
[![Documentation](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=documentation)](https://martyo256.github.io/find-files-by-patterns/)
[![Build Status](https://travis-ci.org/MartyO256/find-files-by-patterns.svg)](https://travis-ci.org/MartyO256/find-files-by-patterns)
[![Coverage Status](https://coveralls.io/repos/github/MartyO256/find-files-by-patterns/badge.svg)](https://coveralls.io/github/MartyO256/find-files-by-patterns?branch=development)
[![Maintainability](https://api.codeclimate.com/v1/badges/6d2069677a848c509e3a/maintainability)](https://codeclimate.com/github/MartyO256/find-files-by-patterns/maintainability)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "find-files-by-patterns",
"version": "0.13.0",
"version": "1.0.0",
"description": "Find files by patterns in directories, upwards or downwards from other paths.",
"license": "MIT",
"author": "Marc-Antoine Ouimet <ouimetmarcantoine@gmail.com>",
Expand All @@ -14,7 +14,7 @@
"email": "ouimetmarcantoine@gmail.com"
},
"files": [
"./lib"
"lib"
],
"main": "./lib/index.js",
"engineStrict": true,
Expand Down

0 comments on commit c6cc227

Please sign in to comment.