Skip to content

Commit

Permalink
lighter release
Browse files Browse the repository at this point in the history
  • Loading branch information
fdobad committed Aug 29, 2024
1 parent 97ac25e commit 7a72686
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@ jobs:

- name: git archive
run: |
git add fireanalyticstoolbox/cbc
git add fireanalyticstoolbox/simulator/C2F
astash=`git stash create`
git archive --output "fireanalyticstoolbox_${{ github.ref_name }}.zip" $astash fireanalyticstoolbox
git rm -r fireanalyticstoolbox/cbc/include
git rm -r fireanalyticstoolbox/cbc/share
git rm -f fireanalyticstoolbox/fireanalyticstoolbox/simulator/C2F/Cell2Fire/*.h
git rm -f fireanalyticstoolbox/fireanalyticstoolbox/simulator/C2F/Cell2Fire/*.cpp
git rm -f fireanalyticstoolbox/fireanalyticstoolbox/simulator/C2F/Cell2Fire/makefile*
git rm -f fireanalyticstoolbox/fireanalyticstoolbox/simulator/C2F/Cell2Fire/Cell2Fire.sln*
git rm -f fireanalyticstoolbox/fireanalyticstoolbox/simulator/C2F/Cell2Fire/Cell2Fire.vcxproj*
git add fireanalyticstoolbox/cbc
git add fireanalyticstoolbox/simulator/C2F
astash=`git stash create`
git archive --output "fireanalyticstoolbox_${{ github.ref_name }}.zip" $astash fireanalyticstoolbox
- name: Create Release
uses: ncipollo/[email protected]
Expand Down

0 comments on commit 7a72686

Please sign in to comment.