Skip to content

Commit

Permalink
feat: Support for npx
Browse files Browse the repository at this point in the history
  • Loading branch information
wattanx committed Jun 5, 2022
1 parent 4e85c91 commit dd3bbc8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-bundle-analysis",
"version": "0.0.8",
"version": "1.0.0",
"description": "Analyzes each PR's impact on your nuxt.js app's bundle size and displays it using a comment.",
"main": "index.js",
"bin": {
Expand Down
9 changes: 9 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /bin/sh

set -ex

CURRENT_VERSION=$(git show HEAD:package.json | jq -r '.version')

if ! git tag | grep --quiet "^$CURRENT_VERSION$"; then
echo $CURRENT_VERSION
fi

0 comments on commit dd3bbc8

Please sign in to comment.