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 38a62d5 commit e22f341Copy full SHA for e22f341
.github/workflows/update-brew-package.yml
@@ -52,7 +52,8 @@ jobs:
52
echo "old sha: $old_sha new sha: $sha"
53
sed -i 's/${{ env.old_sha }}/${{ env.sha }}/' ./Formula/smol-k8s-lab.rb && grep sha ./Formula/smol-k8s-lab.rb
54
55
- if [ $(git diff --exit-code ./Formula/smol-k8s-lab.rb) -ne 0]; then
+ export file_changed=$(git diff --exit-code ./Formula/smol-k8s-lab.rb)
56
+ if [ $file_changed -ne 0 ]; then
57
echo -e "\n--------------------------------------------"
58
echo -e "tagging and pushing to main branch\n"
59
git tag ${{ steps.upstreamRelease.outputs.release }}
0 commit comments