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 734eead commit eac8f1fCopy full SHA for eac8f1f
.github/workflows/release.yml
@@ -28,11 +28,11 @@ jobs:
28
if ($previous_sha256 -and $previous_sha256 -ne "0000000000000000000000000000000000000000") {
29
$rag_path = "src/python/rag.py" -replace '\\', '/'
30
echo "Checking if $rag_path exists in $previous_sha256"
31
- $file_exists = git cat-file -e "$previous_sha256:$rag_path" 2>$null
+ $file_exists = git cat-file -e "${previous_sha256}:$rag_path" 2>$null
32
$check_exit_code = $LASTEXITCODE
33
34
if ($check_exit_code -eq 0) {
35
- $previous_content = git show "$previous_sha256:$rag_path" -- 2>&1
+ $previous_content = git show "${previous_sha256}:$rag_path" -- 2>&1
36
$git_exit_code = $LASTEXITCODE
37
$LASTEXITCODE = 0
38
echo "Git show exit code: $git_exit_code"
0 commit comments