Skip to content

Commit 11f5401

Browse files
authored
Merge pull request #2722 from wmathurin/dev
Removing package.json
2 parents 2ca3b05 + 944d03d commit 11f5401

File tree

2 files changed

+0
-56
lines changed

2 files changed

+0
-56
lines changed

package.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

setversion.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ parse_opts ()
4545
}
4646

4747
# Helper functions
48-
update_package_json ()
49-
{
50-
local file=$1
51-
local versionName=$2
52-
gsed -i "s/\"version\":.*\"[^\"]*\"/\"version\": \"${versionName}\"/g" ${file}
53-
}
54-
5548
update_top_build_gradle ()
5649
{
5750
local file=$1
@@ -137,9 +130,6 @@ SHORT_VERSION=`echo ${OPT_VERSION} | cut -d. -f1,2`
137130

138131
echo -e "${YELLOW}*** SETTING VERSION NAME TO ${OPT_VERSION}, VERSION CODE TO ${OPT_CODE}, IS DEV = ${OPT_IS_DEV} ***${NC}"
139132

140-
echo "*** Updating main package.json ***"
141-
update_package_json "./package.json" "${OPT_VERSION}"
142-
143133
echo "*** Updating react package.json ***"
144134
update_react_package_json "./libs/SalesforceReact/package.json" "${OPT_VERSION}" "${OPT_IS_DEV}"
145135

0 commit comments

Comments
 (0)