Skip to content

Commit

Permalink
move add files around
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Jan 17, 2024
1 parent ec9c683 commit bbfdf8c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,27 @@ jobs:
fi
done
- name: Generate manifest
run: |
echo "[" > manifest
for dir in src/*; do
if [ -d $dir ]; then
cd "$dir"
name=$(jq -r '.name' manifest.json)
version_major=$(jq -r '.version_major' manifest.json)
version_minor=$(jq -r '.version_minor' manifest.json)
description=$(jq -r '.description' manifest.json)
echo "{\"name\":\"$name\",\"version_major\":\"$version_major\",\"version_minor\":\"$version_minor\",\"description\":\"$description\"}," >> ../../manifest
cd ../..
fi
done
sed -i '$ s/.$//' manifest
echo "]" >> manifest
- name: Commit autoscripts packages
uses: EndBug/add-and-commit@v9
with:
add: './packages/*.tgz' 'manifest'
add: './packages/*.tgz manifest'
author_name: Eggheads Autoscripts
author_email: [email protected]
default_author: user_info
Expand Down

0 comments on commit bbfdf8c

Please sign in to comment.