Skip to content

Commit

Permalink
fksdjnfsdkjfn (#3606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Jan 28, 2022
1 parent 33a570b commit c54d139
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
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 git@github.com: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 git@github.com: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

0 comments on commit c54d139

Please sign in to comment.