diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index cc458f0d..523e7367 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -9,6 +9,12 @@ on: - "**.md" - ".vscode/**" - ".idea/**" + - ".gitignore" + - ".editorconfig" + - ".pre-commit-config.yaml" + - ".github/**" + - "tests/**" + - "scripts/**" workflow_dispatch: inputs: production_release: diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index ede64e5a..2a014fcf 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -60,8 +60,10 @@ jobs: - uses: actions/create-github-app-token@v1 id: app-token with: - app-id: ${{ secrets.ALGOKIT_GH_BOT_ID }} - private-key: ${{ secrets.ALGOKIT_GH_BOT_SK }} + app-id: ${{ secrets.BOT_ID }} + private-key: ${{ secrets.BOT_SK }} + repositories: homebrew-tap + owner: algorandfoundation - name: Checkout source code uses: actions/checkout@v4 diff --git a/scripts/update-brew-cask.sh b/scripts/update-brew-cask.sh index 0decdbe4..de3c7d8a 100755 --- a/scripts/update-brew-cask.sh +++ b/scripts/update-brew-cask.sh @@ -92,10 +92,12 @@ create_cask() { cat << EOF > $cask_file cask "$package_name" do arch arm: "arm64", intel: "x64" + version "$version" - sha256 arm: "$arm_sha256", intel: "$intel_sha256" + sha256 arm: "$arm_sha256", + intel: "$intel_sha256" - url "$repo/releases/download/v#{version}/algokit-#{version}-macos_#{arch}.tar.gz" + url "$repo/releases/download/v#{version}/algokit-#{version}-macos_#{arch}-brew.tar.gz" name "$package_name" desc "$desc" homepage "$homepage"