Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evandcoleman committed Oct 1, 2024
1 parent 878dd35 commit 9a36401
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build Release
on:
workflow_dispatch:
create:
push:
branches:
- 'release/*'

jobs:
build:
Expand Down Expand Up @@ -36,7 +39,7 @@ jobs:
echo "Getting release notes for $REPO version $VERSION"
# Get release notes
release_notes=$(gh release view $VERSION --repo $REPO --json body | jq -r '.body')
release_notes=$(gh release view $VERSION --repo $REPO --json body | jq '.body')
echo "::set-output name=release_notes::${release_notes}"
echo "Downloading artifact from $REPO version $VERSION"
Expand Down Expand Up @@ -79,4 +82,10 @@ jobs:
run: |
gh pr review --approve
env:
GITHUB_TOKEN: ${{ secrets.AFRESHY_PAT }}
GITHUB_TOKEN: ${{ secrets.AFRESHY_PAT }}

- name: Merge pull request
run: |
gh pr merge --squash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

echo "Creating a release for version $version"

release_notes=$(gh release view $VERSION --repo $FIREBASE_REPO --json body | jq -r '.body')
release_notes=$(gh release view $VERSION --repo $FIREBASE_REPO --json body | jq '.body')

# Create a new release
gh release create $version ./artifacts/* \
Expand Down

0 comments on commit 9a36401

Please sign in to comment.