Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fksdjnfsdkjfn #3606

Merged
merged 1 commit into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/odd-gorillas-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

I think this might be it
16 changes: 8 additions & 8 deletions packages/create-svelte/scripts/update-template-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ TMP=$(get_abs_filename "$DIR/../node_modules/.tmp")
mkdir -p $TMP
cd $TMP

# clone the template repo
rm -rf kit-template-default
git clone --depth 1 --single-branch --branch main [email protected]:sveltejs/kit-template-default.git kit-template-default

# empty out the repo
cd kit-template-default
node $DIR/update-template-repo-contents.js $TMP/kit-template-default

if [ "$CI" ]; then
echo ">>> setting git config"
(umask 0077; echo "$UPDATE_TEMPLATE_SSH_KEY" > ~/ssh_key;)
Expand All @@ -22,14 +30,6 @@ fi

echo "GIT_SSH_COMMAND: $GIT_SSH_COMMAND"

# clone the template repo
rm -rf kit-template-default
git clone --depth 1 --single-branch --branch main [email protected]:sveltejs/kit-template-default.git kit-template-default

# empty out the repo
cd kit-template-default
node $DIR/update-template-repo-contents.js $TMP/kit-template-default

# commit the new files
git add -A
git commit -m "version $npm_package_version"
Expand Down