Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
name: azurehound-bin-${{ matrix.os }}-${{ matrix.arch }}
path: azurehound*

- name: Create Executable Checksums
run: |
file=$(ls azurehound*)
sha256sum $file > ${file}.sha256

- name: Zip
run: 7z a -tzip -mx9 ${{ env.FILE_NAME }}.zip azurehound*

Expand Down Expand Up @@ -135,10 +140,17 @@ jobs:
osslsigncode verify -CAfile cert-chain.pem "$artifact"
done

- name: Create Executable Checksums
run: |
cd signed
file=$(ls azurehound*)
sha256sum $file > ${file}.sha256

- name: Zip Signed Executables
run: |
mkdir zipped
7z a -tzip -mx9 zipped/${{ env.FILE_NAME }}.zip signed/*
cd signed
7z a -tzip -mx9 ../zipped/${{ env.FILE_NAME }}.zip *

- name: Checksum Zipped Files
run: |
Expand Down
Loading