Skip to content

Commit

Permalink
UPdate more fields in the formula
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynforthewyn committed Sep 25, 2023
1 parent 298bcf4 commit 36871ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,14 @@ jobs:
run: |
export SHA_VALUE=${{ steps.generate-sha256.outputs.sha256 }}
export URL_VALUE=${{ env.SOURCE_CODE_URL }}
export TAG_VERSION=${{ needs.build-and-release-tag.outputs.version_tag }}
export LICENSE="BSD-3-Clause"
echo "SHA VALUE: ${SHA_VALUE}"
echo "URL VALUE: ${URL_VALUE}"
sed -i "s|sha256.*|sha256: \"$SHA_VALUE\"|" Formula/templ.rb
sed -i "s|url.*|url: \"$URL_VALUE\"|" Formula/templ.rb
sed -i "s|version.*|version: \"$TAG_VERSION\"|" Formula/templ.rb
sed -i "s|license.*|license: \"$LICENSE\"|" Formula/templ.rb
- name: "Add new repo file"
Expand Down

0 comments on commit 36871ce

Please sign in to comment.