mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-04-27 19:47:31 +00:00
👷 Remove kubeshark tap upgrades (#1519)
This commit is contained in:
parent
f1021f61b6
commit
867c7058a0
30
.github/workflows/release.yml
vendored
30
.github/workflows/release.yml
vendored
@ -57,14 +57,6 @@ jobs:
|
|||||||
needs: [release]
|
needs: [release]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
repository: kubeshark/homebrew-kubeshark
|
|
||||||
token: ${{ secrets.HOMEBREW_TOKEN }}
|
|
||||||
path: homebrew-kubeshark
|
|
||||||
|
|
||||||
- name: Bump core homebrew formula
|
- name: Bump core homebrew formula
|
||||||
uses: mislav/bump-homebrew-formula-action@v3
|
uses: mislav/bump-homebrew-formula-action@v3
|
||||||
with:
|
with:
|
||||||
@ -73,25 +65,3 @@ jobs:
|
|||||||
push-to: kubeshark/homebrew-core
|
push-to: kubeshark/homebrew-core
|
||||||
env:
|
env:
|
||||||
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
|
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
|
||||||
|
|
||||||
- name: Generate Homebrew formulae
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
export FULL_VERSION=${{ needs.release.outputs.version }}
|
|
||||||
export CLEAN_VERSION=$(echo $FULL_VERSION | sed 's/^v//')
|
|
||||||
export DARWIN_AMD64_SHA256=$(shasum -a 256 bin/kubeshark_darwin_amd64 | awk '{print $1}')
|
|
||||||
export DARWIN_ARM64_SHA256=$(shasum -a 256 bin/kubeshark_darwin_arm64 | awk '{print $1}')
|
|
||||||
export LINUX_AMD64_SHA256=$(shasum -a 256 bin/kubeshark_linux_amd64 | awk '{print $1}')
|
|
||||||
export LINUX_ARM64_SHA256=$(shasum -a 256 bin/kubeshark_linux_arm64 | awk '{print $1}')
|
|
||||||
envsubst < .github/static/kubeshark.rb.tmpl > homebrew-kubeshark/kubeshark.rb
|
|
||||||
|
|
||||||
cat homebrew-kubeshark/kubeshark.rb
|
|
||||||
|
|
||||||
- name: Commit and push Homebrew formulae
|
|
||||||
working-directory: homebrew-kubeshark
|
|
||||||
run: |
|
|
||||||
git config --global user.email "bot@kubeshark.io"
|
|
||||||
git config --global user.name "Kubeshark Bot"
|
|
||||||
git add kubeshark.rb
|
|
||||||
git commit -m "Release ${{ needs.release.outputs.version }}"
|
|
||||||
git push
|
|
||||||
|
Loading…
Reference in New Issue
Block a user