Skip to content

Commit

Permalink
fixed project name
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Cuneo committed Jun 29, 2018
1 parent 11a1629 commit 48d00ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Redux Methods

![GitHub last commit](https://img.shields.io/github/last-commit/rabidpug/redux-methods.svg)
[![Build Status](https://img.shields.io/travis/rabidpug/redux-methods.svg?style=flat-square)](https://travis-ci.org/rabidpug/redux-methods)
[![Build Status](https://ci.jcuneo.com/job/redux-methods/job/master/badge/icon)](https://ci.jcuneo.com/job/redux-methods/job/master/)
[![Coverage Status](https://coveralls.io/repos/github/rabidpug/redux-methods/badge.svg)](https://coveralls.io/github/rabidpug/redux-methods)

[![GitHub package version](https://img.shields.io/github/package-json/v/rabidpug/redux-methods.svg)](https://github.com/rabidpug/redux-methods/blob/master/CHANGELOG.md)
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if [ "$0" = "master" ]; then tag='release'; else tag='next'; fi
pkgver=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
match=$(npm view express-locator versions | grep -Eo '([0-9]*\.[0-9]*\.[0-9])' | grep -Eo "$pkgver |$pkgver^")
match=$(npm view redux-methods versions | grep -Eo '([0-9]*\.[0-9]*\.[0-9])' | grep -Eo "$pkgver |$pkgver^")
if [ -z "$match" ]; then npm publish --tag $tag --ignore-scripts; else echo 'Version already published'; fi

0 comments on commit 48d00ee

Please sign in to comment.