Skip to content

Commit

Permalink
add source zip to release
Browse files Browse the repository at this point in the history
  • Loading branch information
sbashford committed Aug 22, 2024
1 parent f5f5bbd commit 9a0d5b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
command: package("${{ github.ref_name }}", "ihn-psych.mltbx")
- name: create GitHub release
run: |
gh release create "${{ github.ref_name }}" ihn-psych.mltbx
echo "function v = version, v = '${{ github.ref_name }}'; end" >toolbox/+ihn/version.m
(cd toolbox/ && zip -r ../"$ZIPFILE" +ihn/)
gh release create "${{ github.ref_name }}" *.mltbx "$ZIPFILE"
env:
ZIPFILE: ihn-psych-${{ github.ref_name }}.zip
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9a0d5b9

Please sign in to comment.