mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +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
|
- name: List binaries
|
||||||
shell: bash
|
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
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|
12
.justfile
12
.justfile
|
@ -32,3 +32,15 @@ generate-gitbook:
|
||||||
# Publish gitbook directory to gitbook branch
|
# Publish gitbook directory to gitbook branch
|
||||||
publish-gitbook: generate-gitbook
|
publish-gitbook: generate-gitbook
|
||||||
npx push-dir --dir=gitbook --branch=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