Skip to content

Commit

Permalink
fix: Clean out obsidian-integration repo before copying in latest files
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 26, 2023
1 parent 0891bc7 commit 02b3887
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .build/upload-release-assets.sh
Expand Up @@ -5,9 +5,14 @@ ORIGINAL_PATH=$PWD
git config --global user.name "andymac4182"
git config --global user.email "andrew.mcclenaghan@gmail.com"

cp manifest.json ./.release-repo/manifest.json
cp -r ./packages/obsidian/ ./.release-repo
cd ./.release-repo
find . -mindepth 1 -maxdepth 1 ! -name .git -exec rm -rf {} \;
cd $ORIGINAL_PATH

cp LICENSE ./.release-repo/LICENSE
cp manifest.json ./.release-repo/manifest.json
cp -r ./packages/obsidian/. ./.release-repo

git add .
git commit -m "Update manifest for $TAG release."
commit_sha=$(git rev-parse HEAD)
Expand Down

0 comments on commit 02b3887

Please sign in to comment.