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 3c23802 commit 6f10aa0Copy full SHA for 6f10aa0
.github/workflows/release.yml
@@ -25,7 +25,8 @@ jobs:
25
$previous_sha256 = "${{ github.event.before }}"
26
if ($previous_sha256 -and $previous_sha256 -ne "0000000000000000000000000000000000000000") {
27
$previous_content = git show $previous_sha256:src/python/rag.py 2>$null
28
- if ($? -and $previous_content) {
+ $LASTEXITCODE = 0 # Reset exit code to avoid propagating git show failure
29
+ if ($previous_content) {
30
echo $previous_content | Out-File temp_rag.py -Encoding utf8
31
if (Test-Path temp_rag.py) {
32
$previous_hash = (Get-FileHash -Path temp_rag.py -Algorithm SHA256).Hash
0 commit comments