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