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 d2515bc commit b097f4c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ jobs:
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 $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 merlinServer-Windows-x64.7z $F $DIR/merlinServer-Windows-x64.exe
cp docs/CHANGELOG.MD .
cp $DIR/merlinServer* .
F="README.MD LICENSE data/modules CHANGELOG.MD 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 merlinServer-Linux-x64
7za a -pmerlin -mhe -mx=9 merlinServer-Darwin-x64.7z $F merlinServer-Darwin-x64
7za a -pmerlin -mhe -mx=9 merlinServer-Windows-x64.7z $F merlinServer-Windows-x64.exe
- name: Create Draft Release
id: create_draft_release
Expand Down

0 comments on commit b097f4c

Please sign in to comment.