mirror of
https://github.com/lune-org/lune.git
synced 2025-01-05 19:09:10 +00:00
Clean up release workflow now that its working
This commit is contained in:
parent
27f9f32269
commit
c5f18d1eef
1 changed files with 10 additions and 6 deletions
16
.github/workflows/release.yaml
vendored
16
.github/workflows/release.yaml
vendored
|
@ -124,28 +124,32 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ./binaries
|
path: ./binaries
|
||||||
|
|
||||||
- name: MOVE binaries
|
- name: Discover binaries
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd ./binaries
|
cd ./binaries
|
||||||
|
echo ""
|
||||||
|
echo "Binaries dir:"
|
||||||
ls -lhrt
|
ls -lhrt
|
||||||
|
echo ""
|
||||||
|
echo "Searching for zipped releases..."
|
||||||
for DIR in * ; do
|
for DIR in * ; do
|
||||||
if [ -d "$DIR" ]; then
|
if [ -d "$DIR" ]; then
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
echo "$DIR"
|
|
||||||
for FILE in * ; do
|
for FILE in * ; do
|
||||||
if [ ! -d "$FILE" ]; then
|
if [ ! -d "$FILE" ]; then
|
||||||
echo "> $FILE"
|
|
||||||
if [ "$FILE" = "release.zip" ]; then
|
if [ "$FILE" = "release.zip" ]; then
|
||||||
|
echo "Found zipped release '$DIR'"
|
||||||
mv "$FILE" "../$DIR.zip"
|
mv "$FILE" "../$DIR.zip"
|
||||||
echo "> MOVED"
|
rm -rf "../$DIR/"
|
||||||
rm -rf "$DIR"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
echo ""
|
||||||
|
echo "Binaries dir:"
|
||||||
ls -lhrt
|
ls -lhrt
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
@ -157,5 +161,5 @@ jobs:
|
||||||
name: ${{ needs.init.outputs.version }}
|
name: ${{ needs.init.outputs.version }}
|
||||||
tag_name: v${{ needs.init.outputs.version }}
|
tag_name: v${{ needs.init.outputs.version }}
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
files: ./binaries/lune-*.zip
|
files: ./binaries/*.zip
|
||||||
draft: true
|
draft: true
|
||||||
|
|
Loading…
Reference in a new issue