Skip to content

Commit

Permalink
ci: set release-please initial package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Aug 12, 2022
1 parent 5bea153 commit ca4b4cc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
{}
{
"extensions/arabic": "0.1.3",
"extensions/bulgarian": "0.1.6",
"extensions/catalan": "0.1.13",
"extensions/croatian": "0.1.6",
"extensions/czech": "0.1.13",
"extensions/danish": "0.2.14",
"extensions/dutch": "0.3.3",
"extensions/esperanto": "0.1.11",
"extensions/estonian": "0.1.7",
"extensions/french-reforme": "2.0.5",
"extensions/french": "0.2.2",
"extensions/german": "2.0.4",
"extensions/greek": "0.1.13",
"extensions/hebrew": "0.1.12",
"extensions/italian": "0.1.13",
"extensions/medical-terms": "1.0.16",
"extensions/norwegian-bokmal": "0.1.7",
"extensions/persian": "0.1.13",
"extensions/polish": "1.0.13",
"extensions/portuguese-brazilian": "2.0.8",
"extensions/portuguese": "0.1.13",
"extensions/russian": "2.0.5",
"extensions/scientific-terms": "0.1.6",
"extensions/slovenian": "0.1.3",
"extensions/spanish": "2.1.2",
"extensions/swedish": "1.1.2",
"extensions/turkish": "0.1.13",
"extensions/ukrainian": "0.1.14",
"extensions/vietnamese": "0.1.10"
}
1 change: 1 addition & 0 deletions scripts/package_versions.jq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ version: (.version), dir: (input_filename | sub("/package.json"; "") | sub("[.][/]"; "") ) } | { (.dir): (.version) }
8 changes: 8 additions & 0 deletions scripts/package_versions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
JQ_FILTER="$SCRIPT_DIR/package_versions.jq"


echo $(ls -1 extensions/*/package.json) \
| xargs jq -f $JQ_FILTER | jq -s add

0 comments on commit ca4b4cc

Please sign in to comment.