Skip to content

Commit 10a7bcb

Browse files
authored
Merge pull request #378 from Liturgical-Calendar/development
Prepare v5.2 release
2 parents 24fd559 + 88471bb commit 10a7bcb

File tree

120 files changed

+2006
-544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2006
-544
lines changed

.github/workflows/cldr_cron.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,28 @@ jobs:
4444
echo "Remote: $remote_version"
4545
echo "Local: $local_version"
4646
47-
if [ "$remote_version" = "$local_version" ]; then
48-
echo "up_to_date=true" >> $GITHUB_OUTPUT
47+
# Check if the remote version has a decimal point
48+
if [[ $remote_version == *.* ]]; then
49+
# If it does, extract the major part
50+
remote_major=$(echo "$remote_version" | cut -d '.' -f 1)
51+
# Compare the major part with the local version
52+
if [[ $remote_major == $local_version ]]; then
53+
echo "up_to_date=true" >> $GITHUB_OUTPUT
54+
else
55+
echo "up_to_date=false" >> $GITHUB_OUTPUT
56+
fi
4957
else
50-
echo "up_to_date=false" >> $GITHUB_OUTPUT
51-
echo "remote_version=$remote_version" >> $GITHUB_OUTPUT
58+
# If it doesn't, compare the remote version with the local version directly
59+
if [[ $remote_version == $local_version ]]; then
60+
echo "up_to_date=true" >> $GITHUB_OUTPUT
61+
else
62+
echo "up_to_date=false" >> $GITHUB_OUTPUT
63+
fi
5264
fi
53-
5465
- name: Download likelySubtags.json
5566
if: steps.compare.outputs.up_to_date == 'false'
5667
run: |
57-
url="https://raw.githubusercontent.com/unicode-org/cldr-json/refs/tags/${{ steps.cldr.outputs.tag }}/cldr-core/supplemental/likelySubtags.json"
68+
url="https://raw.githubusercontent.com/unicode-org/cldr-json/refs/tags/${{ steps.cldr.outputs.tag }}/cldr-json/cldr-core/supplemental/likelySubtags.json"
5869
curl -fsSL "$url" -o jsondata/likelySubtags.json
5970
# Validate downloaded file is valid JSON
6071
if ! jq empty jsondata/likelySubtags.json 2>/dev/null; then

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## [v5.2](https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/releases/tag/v5.2) (October 4th 2025)
4+
5+
* implement conditional rules for national calendar liturgical events (was previously hardcoded into the API for USA National Day of Prayer for the Unborn; issue [#206])
6+
* implement Holy Days of Obligation (can be set on a per Bishops Conference basis; issue [#296])
7+
8+
Saint Francis of Assisi, pray for us! 🕊️
9+
310
## [v5.1](https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/releases/tag/v5.1) (October 2nd 2025)
411

512
* implement PSR-3 Logger Interface

0 commit comments

Comments
 (0)