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 2b4e904 commit 2c719a5Copy full SHA for 2c719a5
.github/workflows/release.yml
@@ -519,8 +519,15 @@ jobs:
519
exit 1
520
fi
521
522
- if ! grep -q "version \"${{ needs.validate-version.outputs.version }}\"" ten-second-tom.rb; then
523
- echo "❌ Error: Version not found in formula"
+ # Check that source URL contains the version
+ if ! grep -q "archive/refs/tags/v${{ needs.validate-version.outputs.version }}.tar.gz" ten-second-tom.rb; then
524
+ echo "❌ Error: Version not found in source URL"
525
+ exit 1
526
+ fi
527
+
528
+ # Check that source has SHA256
529
+ if ! grep -q "sha256 \"" ten-second-tom.rb; then
530
+ echo "❌ Error: Source SHA256 not found in formula"
531
532
533
0 commit comments