From cfbc4bea6792f229ad01586fa5a49dc22d4c3e77 Mon Sep 17 00:00:00 2001 From: Chase Coalwell <782571+srchase@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:38:48 -0600 Subject: [PATCH] Update release_prefix for migrated repo (#1943) --- .github/workflows/update-brew.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-brew.yml b/.github/workflows/update-brew.yml index 23e1e383980..aecda509668 100644 --- a/.github/workflows/update-brew.yml +++ b/.github/workflows/update-brew.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: # on button click env: - release_prefix: https://github.com/awslabs/smithy/releases/download + release_prefix: https://github.com/smithy-lang/smithy/releases/download jobs: download-and-save: @@ -98,12 +98,13 @@ jobs: tmp=$(mktemp) jq --arg sha "$sha" '.bottle.sha256.linux_arm = "'$sha'"' homebrew-tap/bottle-configs/smithy-cli.json > "$tmp" && mv "$tmp" homebrew-tap/bottle-configs/smithy-cli.json - name: Set up new git branch for version bump + working-directory: homebrew-tap run: | - cd homebrew-tap git config user.name 'smithy-automation' git config user.email 'github-smithy-automation@amazon.com' git checkout -b "automation/bump-smithy-cli-version/${GITHUB_REF##*/}" - name: Create PR + working-directory: homebrew-tap run: | git add bottle-configs/smithy-cli.json git commit -m "chore: upgrade smithy-cli to ${GITHUB_REF##*/}"