Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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