convert-csv-to-json 2.15.0 → 2.16.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.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "Convert CSV to JSON",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6,6 +6,7 @@ validate_is_master_branch(){
6
6
  echo "Checking branch...";
7
7
  RELEASE_BRANCH="master";
8
8
  CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD);
9
+ echo "current branch: $CURRENT_BRANCH"
9
10
  if [ $RELEASE_BRANCH != $CURRENT_BRANCH ]; then
10
11
  echo "A new release version is only bumped on branch: $RELEASE_BRANCH.";
11
12
  echo "Exiting...";
@@ -40,7 +41,7 @@ push_git_info(){
40
41
  git commit --amend -m "new release $TAG [skip ci]"
41
42
  echo "new commit message: $(git log -1 --pretty=format:"%s")"
42
43
  git push
43
- git push —tags origin master
44
+ git push origin refs/tags/$TAG
44
45
  }
45
46
 
46
47
  execute-new-release(){