please-release-me 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git show:*)"
5
+ ]
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "please-release-me",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Let me go!",
5
5
  "author": "Phil Booth <pmbooth@gmail.com> (https://philbooth.me/)",
6
6
  "license": "MIT",
package/release.sh CHANGED
@@ -53,7 +53,7 @@ if [ "$TEST" = "true" ]; then
53
53
  fi
54
54
  fi
55
55
 
56
- if grep '^\s*"minify":' package.json > /dev/null 2>&1; then
56
+ if grep '^\s*"test":' package.json > /dev/null 2>&1; then
57
57
  if ! npm t; then
58
58
  abort "npm test failed"
59
59
  fi
@@ -263,5 +263,5 @@ if [ -f Cargo.toml ]; then
263
263
  cargo package
264
264
  fi
265
265
 
266
- git tag -a "$NEW_TAG" -m "$BUILD_TYPE release $NEW_TAG\n\n$GIT_FRIENDLY_SUMMARY"
266
+ git tag -a "$NEW_TAG" -m "$(printf '%b' "$BUILD_TYPE release $NEW_TAG\n\n$GIT_FRIENDLY_SUMMARY")"
267
267