Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
eemmiillyy committed Jul 24, 2024
1 parent a766eb4 commit 9597ed4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/update-homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
id: updateformula
run: |
echo "${{ steps.gettemplate.outputs.template }}" > ./Formula/xata.rb
sed -i 's/__CLI_VERSION__/${{ inputs.version }}/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_INTEL_SHA256__/${{ inputs.mac_intel_sha }}/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_ARM_SHA256__/${{ inputs.mac_arm_sha }}/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_SHA256__/${{ inputs.linux_sha }}/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_ARM_SHA256__/${{ inputs.linux_arm_sha }}/g' ./Formula/xata.rb
sed -i 's/__CLI_VERSION__/\"${{ inputs.version }}\"/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_INTEL_SHA256__/\"${{ inputs.mac_intel_sha }}\"/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_ARM_SHA256__/\"${{ inputs.mac_arm_sha }}\"/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_SHA256__/\"${{ inputs.linux_sha }}\"/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_ARM_SHA256__/\"${{ inputs.linux_arm_sha }}\"/g' ./Formula/xata.rb
VER="${{inputs.version}}"
COMMITSHA="${{inputs.commit_sha}}"
Expand All @@ -77,10 +77,10 @@ jobs:
CLI_LINUX_DOWNLOAD_URL="${BASE_URL}-linux-x64.tar.xz"
CLI_LINUX_ARM_DOWNLOAD_URL="${BASE_URL}-linux-arm64.tar.xz"
sed -i 's/__CLI_MAC_INTEL_DOWNLOAD_URL__/${CLI_MAC_INTEL_DOWNLOAD_URL}/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_ARM_DOWNLOAD_URL__/${CLI_MAC_INTEL_DOWNLOAD_URL}/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_DOWNLOAD_URL__/${CLI_MAC_INTEL_DOWNLOAD_URL}/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_ARM_DOWNLOAD_URL__/${CLI_MAC_INTEL_DOWNLOAD_URL}/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_INTEL_DOWNLOAD_URL__/\"$CLI_MAC_INTEL_DOWNLOAD_URL\"/g' ./Formula/xata.rb
sed -i 's/__CLI_MAC_ARM_DOWNLOAD_URL__/\"$CLI_MAC_INTEL_DOWNLOAD_URL\"/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_DOWNLOAD_URL__/\"$CLI_MAC_INTEL_DOWNLOAD_URL\"/g' ./Formula/xata.rb
sed -i 's/__CLI_LINUX_ARM_DOWNLOAD_URL__/\"$CLI_MAC_INTEL_DOWNLOAD_URL\"/g' ./Formula/xata.rb
- name: Read formula file
id: getformula
Expand Down

0 comments on commit 9597ed4

Please sign in to comment.