Skip to content

Commit

Permalink
change manifest name
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Jan 17, 2024
1 parent fd99803 commit 99365ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
done
- name: Generate manifest
run: |
echo "[" > manifest2
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\"}," >> ../../manifest2
echo "{\"name\":\"$name\",\"version_major\":\"$version_major\",\"version_minor\":\"$version_minor\",\"description\":\"$description\"}," >> ../../manifest
cd ../..
fi
done
sed -i '$ s/.$//' manifest2
echo "]" >> manifest2
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 99365ff

Please sign in to comment.