skill-mix 0.1.0 → 0.2.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 +1 -1
- package/scripts/install.sh +1 -6
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -150,12 +150,7 @@ fi
|
|
|
150
150
|
if [ -d "$INSTALL_DIR/.git" ]; then
|
|
151
151
|
echo "Updating skills-manager in $INSTALL_DIR"
|
|
152
152
|
git -C "$INSTALL_DIR" fetch --depth 1 origin "$BRANCH"
|
|
153
|
-
|
|
154
|
-
git -C "$INSTALL_DIR" checkout "$BRANCH"
|
|
155
|
-
else
|
|
156
|
-
git -C "$INSTALL_DIR" checkout -b "$BRANCH" "origin/$BRANCH"
|
|
157
|
-
fi
|
|
158
|
-
git -C "$INSTALL_DIR" pull --ff-only origin "$BRANCH"
|
|
153
|
+
git -C "$INSTALL_DIR" checkout -B "$BRANCH" "origin/$BRANCH"
|
|
159
154
|
else
|
|
160
155
|
echo "Cloning skills-manager into $INSTALL_DIR"
|
|
161
156
|
git clone --depth 1 --branch "$BRANCH" "$REPO_URL" "$INSTALL_DIR"
|