Skip to content

Commit 955731d

Browse files
oschwaldclaude
andcommitted
Restore release date check in ppa-release.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent de43d4f commit 955731d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dev-bin/ppa-release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ if [[ ! $changelog_header =~ ^##\ ([0-9]+\.[0-9]+\.[0-9]+)\ -\ ([0-9]{4}-[0-9]{2
1212
exit 1
1313
fi
1414
VERSION="${BASH_REMATCH[1]}"
15+
DATE="${BASH_REMATCH[2]}"
16+
17+
if [[ "$DATE" != "$(date +"%Y-%m-%d")" ]]; then
18+
echo "$DATE is not today!"
19+
exit 1
20+
fi
1521

1622
git push
1723

0 commit comments

Comments
 (0)