mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
I love bash
This commit is contained in:
parent
bf1df9bc90
commit
8c0075d120
2 changed files with 25 additions and 1 deletions
14
.github/workflows/release.yaml
vendored
14
.github/workflows/release.yaml
vendored
|
@ -126,7 +126,19 @@ jobs:
|
|||
|
||||
- name: List binaries
|
||||
shell: bash
|
||||
run: ls -lhrt ./binaries
|
||||
run: |
|
||||
cd ./binaries
|
||||
ls -lhrt
|
||||
for DIR in */ ; do
|
||||
cd "$DIR"
|
||||
for FILE in * ; do
|
||||
if [ ! -d "$FILE" ]; then
|
||||
echo "$DIR$FILE"
|
||||
fi
|
||||
done
|
||||
cd ..
|
||||
done
|
||||
cd ..
|
||||
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
|
12
.justfile
12
.justfile
|
@ -32,3 +32,15 @@ generate-gitbook:
|
|||
# Publish gitbook directory to gitbook branch
|
||||
publish-gitbook: generate-gitbook
|
||||
npx push-dir --dir=gitbook --branch=gitbook
|
||||
|
||||
list:
|
||||
#!/usr/bin/env bash
|
||||
for DIR in */ ; do
|
||||
cd "$DIR"
|
||||
for FILE in * ; do
|
||||
if [ ! -d "$FILE" ]; then
|
||||
echo "$DIR$FILE"
|
||||
fi
|
||||
done
|
||||
cd ..
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue