Browse Source

ci: improve file handling in release workflow

pull/85/head
dacrab 5 months ago
parent
commit
fa364cb3ce
  1. 9
      .github/workflows/release.yml
  2. 6
      .goreleaser.yml

9
.github/workflows/release.yml

@ -18,6 +18,15 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
lfs: true
submodules: recursive
- name: Debug Files
run: |
pwd
ls -la
echo "Current directory contents:"
ls -R
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5

6
.goreleaser.yml

@ -42,11 +42,11 @@ archives:
{{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }} {{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }}
{{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }} {{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }}
files: files:
- src: README.md
- src: ./README.md
dst: . dst: .
- src: LICENSE
- src: ./LICENSE
dst: . dst: .
- src: scripts/*
- src: ./scripts/*
dst: scripts dst: scripts
checksum: checksum:

Loading…
Cancel
Save