Skip to content

Commit

Permalink
Troubleshooting release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Nov 5, 2023
1 parent 129138f commit cda117d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,13 @@ jobs:
id: package_release
working-directory: /home/runner/work/merlin/merlin
run: |
VERSION=$(cat pkg/merlin.go |grep "const Version ="|cut -d"\"" -f2)
BUILD=$(git rev-parse HEAD)
DIR=data/temp/v${VERSION}/${BUILD}
F="README.MD LICENSE data/modules docs data/README.MD data/agents/README.MD data/log/README.MD data/x509 data/src data/bin"
7za a -pmerlin -mhe -mx=9 merlinServer-Linux-x64.7z $F merlinCLI-Linux-x64 merlinServer-Linux-x64
7za a -pmerlin -mhe -mx=9 $TEMP/merlinServer-Darwin-x64.7z $F $TEMP/merlinServer-Darwin-x64
7za a -pmerlin -mhe -mx=9 $TEMP/merlinServer-Windows-x64.7z $F $TEMP/merlinServer-Windows-x64.exe
7za a -pmerlin -mhe -mx=9 merlinServer-Linux-x64.7z $F $DIR/merlinServer-Linux-x64
7za a -pmerlin -mhe -mx=9 merlinServer-Darwin-x64.7z $F $DIR/merlinServer-Darwin-x64
7za a -pmerlin -mhe -mx=9 $TEMP/merlinServer-Windows-x64.7z $F $DIR/merlinServer-Windows-x64.exe
- name: Create Draft Release
id: create_draft_release
Expand Down

0 comments on commit cda117d

Please sign in to comment.