Skip to content

Commit 5e5fd2c

Browse files
committed
fksdjnfsdkjfn
1 parent 33a570b commit 5e5fd2c

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

Diff for: .changeset/odd-gorillas-play.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
I think this might be it

Diff for: packages/create-svelte/scripts/update-template-repo.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ TMP=$(get_abs_filename "$DIR/../node_modules/.tmp")
1111
mkdir -p $TMP
1212
cd $TMP
1313

14+
# clone the template repo
15+
rm -rf kit-template-default
16+
git clone --depth 1 --single-branch --branch main [email protected]:sveltejs/kit-template-default.git kit-template-default
17+
18+
# empty out the repo
19+
cd kit-template-default
20+
node $DIR/update-template-repo-contents.js $TMP/kit-template-default
21+
1422
if [ "$CI" ]; then
1523
echo ">>> setting git config"
1624
(umask 0077; echo "$UPDATE_TEMPLATE_SSH_KEY" > ~/ssh_key;)
@@ -22,14 +30,6 @@ fi
2230

2331
echo "GIT_SSH_COMMAND: $GIT_SSH_COMMAND"
2432

25-
# clone the template repo
26-
rm -rf kit-template-default
27-
git clone --depth 1 --single-branch --branch main [email protected]:sveltejs/kit-template-default.git kit-template-default
28-
29-
# empty out the repo
30-
cd kit-template-default
31-
node $DIR/update-template-repo-contents.js $TMP/kit-template-default
32-
3333
# commit the new files
3434
git add -A
3535
git commit -m "version $npm_package_version"

0 commit comments

Comments
 (0)