Skip to content

Commit

Permalink
ci: update feed's pubDate & last build date
Browse files Browse the repository at this point in the history
  • Loading branch information
glichtner committed May 22, 2024
1 parent 3f4b52b commit 99c41b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ jobs:
-u "/rss/channel/item[title='$TITLE']/pubDate" -v "$PUB_DATE" \
$XML_FILE
fi
# Update the lastBuildDate and pubDate for the feed
xmlstarlet ed --inplace \
-u "/rss/channel/lastBuildDate" -v "$PUB_DATE" \
-u "/rss/channel/pubDate" -v "$PUB_DATE" \
$XML_FILE
shell: bash

- name: Push new branch
Expand Down

0 comments on commit 99c41b5

Please sign in to comment.