Use awk instead of homebrew for formulae upgrades. #73
Annotations
1 error
Invalid workflow file:
.github/workflows/go.yml#L148
The workflow is not valid. .github/workflows/go.yml (Line: 148, Col: 14): Unexpected symbol: 'version}'. Located at position 27 within expression: steps.get_version.outputs.version}.tar.gz"
NEW_SHA256="$(curl -sSL $NEW_URL | sha256sum -)"
awk -v new_url="$NEW_URL" '{gsub(/url ".*"/, "url \""new_url"\"")} 1' Formula/valar.rb > Formula/valar.rb
awk -v new_sha256="$NEW_SHA256" '{gsub(/sha256 ".*"/, "sha256 \""new_sha256"\"")} 1' Formula/valar.rb > Formula/valar.rb
git commit -a -m "Bump version to ${{ steps.get_version.outp[...]
|