Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88a659fb03 | |||
| b31d08c35d | |||
| 65293d0961 |
@@ -28,9 +28,6 @@ jobs:
|
|||||||
- goos: linux
|
- goos: linux
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
ext: ''
|
ext: ''
|
||||||
- goos: windows
|
|
||||||
goarch: amd64
|
|
||||||
ext: '.exe'
|
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
ext: ''
|
ext: ''
|
||||||
@@ -124,7 +121,20 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: dist/
|
path: dist/
|
||||||
merge-multiple: true
|
# ← sin merge-multiple, quedan en subdirectorios:
|
||||||
|
# dist/linux-amd64/claudia-docs-linux-amd64.tar.gz
|
||||||
|
# dist/windows-amd64/claudia-docs-windows-amd64.zip
|
||||||
|
# etc.
|
||||||
|
|
||||||
|
- name: Mover artefactos a dist/
|
||||||
|
run: |
|
||||||
|
# Mover todos los archivos de subdirectorios a dist/
|
||||||
|
find dist/ -mindepth 2 -type f -exec mv {} dist/ \;
|
||||||
|
# Borrar subdirectorios con rm -rf en vez de find -delete
|
||||||
|
for dir in dist/*/; do
|
||||||
|
rm -rf "$dir"
|
||||||
|
done
|
||||||
|
ls -lh dist/
|
||||||
|
|
||||||
- name: Generate changelog
|
- name: Generate changelog
|
||||||
run: |
|
run: |
|
||||||
@@ -142,7 +152,7 @@ jobs:
|
|||||||
- name: Generate checksums
|
- name: Generate checksums
|
||||||
run: |
|
run: |
|
||||||
cd dist
|
cd dist
|
||||||
sha256sum * > checksums.txt
|
sha256sum *.tar.gz *.zip > checksums.txt
|
||||||
cat checksums.txt
|
cat checksums.txt
|
||||||
|
|
||||||
- name: Generate install script
|
- name: Generate install script
|
||||||
|
|||||||
Reference in New Issue
Block a user