File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Build Release
3
3
on :
4
4
workflow_dispatch :
5
5
create :
6
+ push :
7
+ branches :
8
+ - ' release/*'
6
9
7
10
jobs :
8
11
build :
36
39
echo "Getting release notes for $REPO version $VERSION"
37
40
38
41
# Get release notes
39
- release_notes=$(gh release view $VERSION --repo $REPO --json body | jq -r '.body')
42
+ release_notes=$(gh release view $VERSION --repo $REPO --json body | jq '.body')
40
43
echo "::set-output name=release_notes::${release_notes}"
41
44
42
45
echo "Downloading artifact from $REPO version $VERSION"
79
82
run : |
80
83
gh pr review --approve
81
84
env :
82
- GITHUB_TOKEN : ${{ secrets.AFRESHY_PAT }}
85
+ GITHUB_TOKEN : ${{ secrets.AFRESHY_PAT }}
86
+
87
+ - name : Merge pull request
88
+ run : |
89
+ gh pr merge --squash
90
+ env :
91
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 61
61
62
62
echo "Creating a release for version $version"
63
63
64
- release_notes=$(gh release view $VERSION --repo $FIREBASE_REPO --json body | jq -r '.body')
64
+ release_notes=$(gh release view $VERSION --repo $FIREBASE_REPO --json body | jq '.body')
65
65
66
66
# Create a new release
67
67
gh release create $version ./artifacts/* \
You can’t perform that action at this time.
0 commit comments