mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
Merge pull request #3284 from vitorpamplona/claude/adoring-pascal-tbm6za
Remove unused `updated` field from translator mappings
This commit is contained in:
@@ -75,7 +75,6 @@
|
||||
"sinceLastTag": {
|
||||
"tag": "v1.12.5",
|
||||
"since": "2026-06-19T12:55:37-04:00",
|
||||
"updated": "2026-06-19T17:21:54+00:00",
|
||||
"translators": [
|
||||
{
|
||||
"user": "vitorpamplona",
|
||||
|
||||
@@ -185,8 +185,7 @@ fi
|
||||
if [ "$SEED" = "1" ]; then
|
||||
before="$(jq '(.mappings // {}) | length' "$MAPPING")"
|
||||
merged="$(jq -n --slurpfile cur "$MAPPING" --argjson rep "$report" \
|
||||
--arg tag "$LAST_TAG" --arg since "$DATE_FROM" \
|
||||
--arg updated "$(date -u +%Y-%m-%dT%H:%M:%S+00:00)" '
|
||||
--arg tag "$LAST_TAG" --arg since "$DATE_FROM" '
|
||||
($cur[0]) as $file
|
||||
| [ ($rep.data // $rep)[] | {
|
||||
user: (.user.username // (.user.id|tostring)),
|
||||
@@ -198,7 +197,7 @@ if [ "$SEED" = "1" ]; then
|
||||
then . else . + { ($u): "" } end) ) as $mappings
|
||||
| $file
|
||||
+ { mappings: $mappings }
|
||||
+ { sinceLastTag: { tag: $tag, since: $since, updated: $updated,
|
||||
+ { sinceLastTag: { tag: $tag, since: $since,
|
||||
translators: $contribs } }
|
||||
')"
|
||||
echo "$merged" > "$MAPPING"
|
||||
|
||||
Reference in New Issue
Block a user