Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88a659fb03 | |||
| b31d08c35d |
@@ -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: ''
|
||||||
@@ -131,11 +128,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Mover artefactos a dist/
|
- name: Mover artefactos a dist/
|
||||||
run: |
|
run: |
|
||||||
find dist/ -mindepth 2 -type f \
|
# Mover todos los archivos de subdirectorios a dist/
|
||||||
\( -name "*.tar.gz" -o -name "*.zip" \) \
|
find dist/ -mindepth 2 -type f -exec mv {} dist/ \;
|
||||||
-exec mv {} dist/ \;
|
# Borrar subdirectorios con rm -rf en vez de find -delete
|
||||||
# Eliminar subdirectorios vacíos
|
for dir in dist/*/; do
|
||||||
find dist/ -mindepth 1 -type d -delete
|
rm -rf "$dir"
|
||||||
|
done
|
||||||
ls -lh dist/
|
ls -lh dist/
|
||||||
|
|
||||||
- name: Generate changelog
|
- name: Generate changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user