Skip to content

Commit

Permalink
Merge pull request #16 from noahstreller/fix/release-zip
Browse files Browse the repository at this point in the history
  • Loading branch information
noahstreller authored Aug 29, 2024
2 parents 30caeed + 7804136 commit 7571be2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: igitt-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.LATEST_TAG }}-${{ env.SHORT_COMMIT }}
name: igitt-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.LATEST_TAG }}
path: |
out/igitt*
Expand All @@ -119,6 +119,12 @@ jobs:
with:
pattern: igitt-*

- name: Create ZIP Archives
run: |
for dir in igitt-*; do
zip -r "${dir}.zip" "$dir"
done
- name: debug-tree
run: |
tree
Expand All @@ -129,9 +135,8 @@ jobs:
with:
files: |
igitt-*
tag_name: ${{ env.LATEST_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
name: "Automatic Pre-Release: ${{ env.LATEST_TAG }}-${{ env.SHORT_COMMIT }}"
name: "Automatic Pre-Release: ${{ github.ref_name }}"
body: |
This is an automatic pre-release build.
draft: false
Expand Down

0 comments on commit 7571be2

Please sign in to comment.