We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2038321 commit 004017fCopy full SHA for 004017f
.github/workflows/sync-docs.yml
@@ -149,8 +149,8 @@ jobs:
149
150
# Update source-updated-at and translation-updated-at in the file
151
# Using portable sed syntax that works on both Linux and macOS
152
- perl -i -pe "s/source-updated-at: .*/source-updated-at: '$CURRENT_TIMESTAMP'/" "$DEST_LOCALE"
153
- perl -i -pe "s/translation-updated-at: .*/translation-updated-at: '$CURRENT_TIMESTAMP'/" "$DEST_LOCALE"
+ perl -i -pe "s/source-updated-at: .*/source-updated-at: $CURRENT_TIMESTAMP/" "$DEST_LOCALE"
+ perl -i -pe "s/translation-updated-at: .*/translation-updated-at: $CURRENT_TIMESTAMP/" "$DEST_LOCALE"
154
else
155
echo "Content changed, keeping original timestamps for translation to detect changes"
156
fi
0 commit comments