Skip to content

Commit

Permalink
Update release_prefix for migrated repo (smithy-lang#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
srchase authored and alextwoods committed Sep 15, 2023
1 parent d725164 commit cfbc4be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 '[email protected]'
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##*/}"
Expand Down

0 comments on commit cfbc4be

Please sign in to comment.