File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 77
77
startLocalRegistry " $root_path " /tasks/verdaccio.yaml
78
78
79
79
# Publish the monorepo
80
- git clean -df
81
- ./tasks/publish.sh --yes --force-publish=* --skip-git --cd-version=prerelease --exact --npm-tag=latest
80
+ publishToLocalRegistry
82
81
83
82
# ******************************************************************************
84
83
# Now that we have published them, run all tests as if they were released.
Original file line number Diff line number Diff line change 99
99
startLocalRegistry " $root_path " /tasks/verdaccio.yaml
100
100
101
101
# Publish the monorepo
102
- git clean -df
103
- ./tasks/publish.sh --yes --force-publish=* --skip-git --cd-version=prerelease --exact --npm-tag=latest
102
+ publishToLocalRegistry
104
103
105
104
echo " Create React App Version: "
106
105
npx create-react-app --version
Original file line number Diff line number Diff line change 81
81
startLocalRegistry " $root_path " /tasks/verdaccio.yaml
82
82
83
83
# Publish the monorepo
84
- git clean -df
85
- ./tasks/publish.sh --yes --force-publish=* --skip-git --cd-version=prerelease --exact --npm-tag=latest
84
+ publishToLocalRegistry
86
85
87
86
# ******************************************************************************
88
87
# Now that we have published them, create a clean app folder and install them.
Original file line number Diff line number Diff line change 81
81
startLocalRegistry " $root_path " /tasks/verdaccio.yaml
82
82
83
83
# Publish the monorepo
84
- git clean -df
85
- ./tasks/publish.sh --yes --force-publish=* --skip-git --cd-version=prerelease --exact --npm-tag=latest
84
+ publishToLocalRegistry
86
85
87
86
# ******************************************************************************
88
87
# Now that we have published them, create a clean app folder and install them.
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ CI=true yarn test
138
138
# Test local start command
139
139
yarn start --smoke-test
140
140
141
- git clean -df
142
- ./tasks/publish.sh --yes --force-publish= * --skip-git --cd-version=prerelease --exact --npm-tag=latest
141
+ # Publish the monorepo
142
+ publishToLocalRegistry
143
143
144
144
# ******************************************************************************
145
145
# Install react-scripts prerelease via create-react-app prerelease.
Original file line number Diff line number Diff line change @@ -29,3 +29,8 @@ function stopLocalRegistry {
29
29
# Kill Verdaccio process
30
30
ps -ef | grep ' verdaccio' | grep -v grep | awk ' {print $2}' | xargs kill -9
31
31
}
32
+
33
+ function publishToLocalRegistry {
34
+ git clean -df
35
+ ./tasks/publish.sh prerelease --yes --force-publish=* --no-git-tag-version --no-commit-hooks --no-push --exact --dist-tag=latest
36
+ }
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ if [ -z $CI ]; then
31
31
fi
32
32
33
33
if [ -n " $( git status --porcelain) " ]; then
34
- echo " $( git diff) "
35
34
echo " Your git status is not clean. Aborting." ;
36
35
exit 1;
37
36
fi
You can’t perform that action at this time.
0 commit comments