From 7feba12e9e2a3c391cebf29b197a31138eedb12b Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Thu, 19 Sep 2024 19:58:58 +0200 Subject: [PATCH 1/8] chore: fixing bot access secret --- .github/workflows/publish-release-packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index ede64e5a..c514e58f 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -61,7 +61,7 @@ jobs: id: app-token with: app-id: ${{ secrets.ALGOKIT_GH_BOT_ID }} - private-key: ${{ secrets.ALGOKIT_GH_BOT_SK }} + private-key: ${{ secrets.ALGOKIT_GH_BOT_PK }} - name: Checkout source code uses: actions/checkout@v4 From f8a791b5ae9eb53a5e2d7a9597ab10edd78de90f Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 20 Sep 2024 10:01:23 +0200 Subject: [PATCH 2/8] chore: update secret ids --- .github/workflows/publish-release-packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index c514e58f..22818508 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -60,8 +60,8 @@ 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_PK }} + app-id: ${{ secrets.BOT_ID }} + private-key: ${{ secrets.BOT_SK }} - name: Checkout source code uses: actions/checkout@v4 From 3307ea3bd50eafbcc5e4f8b6d97ec509ffa75cfa Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 10:39:18 +0200 Subject: [PATCH 3/8] chore: testing ci --- .github/workflows/publish-release-packages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index 22818508..f2d00078 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -62,6 +62,7 @@ jobs: with: app-id: ${{ secrets.BOT_ID }} private-key: ${{ secrets.BOT_SK }} + repositories: algorandfoundation/homebrew-tap - name: Checkout source code uses: actions/checkout@v4 From fcf13f3c74204d850fb4e782bb09f61a1c928c20 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 10:41:25 +0200 Subject: [PATCH 4/8] chore: testing ci --- .github/workflows/publish-release-packages.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index f2d00078..2a014fcf 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -62,7 +62,8 @@ jobs: with: app-id: ${{ secrets.BOT_ID }} private-key: ${{ secrets.BOT_SK }} - repositories: algorandfoundation/homebrew-tap + repositories: homebrew-tap + owner: algorandfoundation - name: Checkout source code uses: actions/checkout@v4 From e3b58cb4656af82b192ac4984bbb06913e3b02e5 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 10:47:46 +0200 Subject: [PATCH 5/8] chore: testing ci --- scripts/update-brew-cask.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/update-brew-cask.sh b/scripts/update-brew-cask.sh index 0decdbe4..06789ecb 100755 --- a/scripts/update-brew-cask.sh +++ b/scripts/update-brew-cask.sh @@ -92,8 +92,10 @@ 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" name "$package_name" From 6805683f31127738c2d48555748fcee48bdee267 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 10:53:52 +0200 Subject: [PATCH 6/8] chore: testing ci --- scripts/update-brew-cask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-brew-cask.sh b/scripts/update-brew-cask.sh index 06789ecb..1e363a3f 100755 --- a/scripts/update-brew-cask.sh +++ b/scripts/update-brew-cask.sh @@ -92,7 +92,7 @@ create_cask() { cat << EOF > $cask_file cask "$package_name" do arch arm: "arm64", intel: "x64" - + version "$version" sha256 arm: "$arm_sha256", intel: "$intel_sha256" From 6436a3fdeb8f91e94bc9566e8a6daaf585ff19d4 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 11:01:57 +0200 Subject: [PATCH 7/8] chore: cask url --- scripts/update-brew-cask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-brew-cask.sh b/scripts/update-brew-cask.sh index 1e363a3f..de3c7d8a 100755 --- a/scripts/update-brew-cask.sh +++ b/scripts/update-brew-cask.sh @@ -97,7 +97,7 @@ cask "$package_name" do 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" From 3effab7ffb788cdcfef275351ae0e31eac7da99b Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 20 Sep 2024 11:13:08 +0200 Subject: [PATCH 8/8] chore: extra paths ignores for cd workflow --- .github/workflows/cd.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: