convert-csv-to-json 2.25.0 → 2.28.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "convert-csv-to-json",
3
- "version": "2.25.0",
3
+ "version": "2.28.0",
4
4
  "description": "Convert CSV to JSON",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@ fi
15
15
  }
16
16
 
17
17
  npm_release(){
18
- COMMIT_MSG="new release [skip ci]"
18
+ RELEASE_COMMIT_MSG="new release [skip ci]"
19
19
  PATCH_MSG="[PATCH]";
20
20
  MAJOR_MSG="[MAJOR]";
21
21
  echo "Parsing git message...";
@@ -23,13 +23,13 @@ npm_release(){
23
23
  echo "Last commit message: ${COMMIT_MSG}";
24
24
  if [[ $COMMIT_MSG == *"$PATCH_MSG"* ]]; then
25
25
  echo "Executing new PATCH release..."
26
- npm version patch --force -m "$COMMIT_MSG";
26
+ npm version patch --force -m "{$RELEASE_COMMIT_MSG";
27
27
  elif [[ $COMMIT_MSG == *"$MAJOR_MSG"* ]]; then
28
28
  echo "Executing new MAJOR release..."
29
- npm version major --force -m "$COMMIT_MSG";
29
+ npm version major --force -m "${RELEASE_COMMIT_MSG}";
30
30
  else
31
31
  echo "Executing new MINOR release...";
32
- npm version minor --force -m "$COMMIT_MSG";
32
+ npm version minor --force -m "${RELEASE_COMMIT_MSG}";
33
33
  fi
34
34
  echo "Publish new version..."
35
35
  npm publish;