Skip to content

Commit

Permalink
build: update new build file
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpm committed Feb 25, 2022
1 parent 3dde69c commit 5248e7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-by-push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ jobs:
- name: cleanup artifacts for windows
if: matrix.os == 'windows-latest'
# windows batch script 难用到令人发指 连一个OR逻辑判断都是伪实现,积重难返
# for %f in (*) do if not %~xf==.txt or .exe del "%f"

# for %f in (*) do if not %~xf==.exe del "%f"
# TODO npx rimraf "dist_electron/!(*.exe|*.exe.blockmap|*.yml)"
run: |
set +H && npx rimraf "dist_electron/!(*.exe|*.exe.blockmap|*.yml)"
npx rimraf "dist_electron/!(*.exe)"
# create release
- name: release
Expand Down

0 comments on commit 5248e7f

Please sign in to comment.