From a5d16cabd2df0cc6ce77afa8a86382aad4b983f2 Mon Sep 17 00:00:00 2001 From: Rhys Yang Date: Wed, 18 Oct 2023 03:52:09 +0800 Subject: [PATCH] Update package_repo.yml --- .github/workflows/package_repo.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package_repo.yml b/.github/workflows/package_repo.yml index 5ff4dcc..74c0b35 100644 --- a/.github/workflows/package_repo.yml +++ b/.github/workflows/package_repo.yml @@ -23,21 +23,21 @@ jobs: id: get_tag run: echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - - name: Extract Section - id: extract_section - run: sed -n '/## Installation/,/## Usage/ {/## Usage/!p;}' README.md > installation.md - - name: Create ZIP Archive run: | tag_name="${{ env.TAG_NAME }}" mkdir "comfyui-prompt-reader-node" - rsync -av --exclude='.github' \ - --exclude="comfyui-prompt-reader-node" \ + rsync -av --exclude='.github' \ + --exclude="comfyui-prompt-reader-node/" \ --exclude="stable_diffusion_prompt_reader/images/" \ --exclude="stable_diffusion_prompt_reader/whl/" \ * comfyui-prompt-reader-node zip -r "${tag_name}.zip" "comfyui-prompt-reader-node" + - name: Extract Section + id: extract_section + run: sed -n '/## Installation/,/## Usage/ {/## Usage/!p;}' README.md > installation.md + - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: