Skip to content

Commit

Permalink
Merge pull request eclipse-che#10 from eclipse/addIdField
Browse files Browse the repository at this point in the history
Add field 'id' to index
  • Loading branch information
Oleksandr Garagatyi authored Aug 20, 2018
2 parents ee1bf0c + 79a8ea2 commit af758ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ do
# 1. read meta.yaml to stio
cat $i| \
# 2. filter lines with name,version,type
grep -e name -e version -e type |\
grep -e 'name:' -e 'version:' -e 'type:' -e 'id:' |\
# 3. Replace ` :` with `":"`
sed 's/: /\":"/g' |\
# 4. Append `",` to the end of each line
Expand Down

0 comments on commit af758ec

Please sign in to comment.