File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 8
8
concurrency :
9
9
group : release
10
10
11
- permissions :
12
- contents : write
13
- pull-requests : write
14
-
15
11
jobs :
16
12
release-please :
17
13
runs-on : ubuntu-latest
77
73
- name : Deploy
78
74
run : echo "Deploying to production!"
79
75
76
+ - name : Checkout
77
+ uses : actions/checkout@v4
78
+
79
+ - name : Sync prerelease manifest
80
+ env :
81
+ MANIFEST_PATH : .github/prerelease-manifest.json
82
+ RELEASE_TAG : ${{ needs.release-please.outputs.tag_name }}
83
+ run : |
84
+ jq --arg tag "${RELEASE_TAG//v/}" '.["."] = $tag' $MANIFEST_PATH > temp.json \
85
+ && mv temp.json $MANIFEST_PATH
86
+
87
+ - name : Commit change
88
+ run : |
89
+ git config user.name "github-actions[bot]"
90
+ git config user.email "github-actions[bot]@users.noreply.github.com"
91
+ git add . $MANIFEST_PATH
92
+ git commit -m "chore: sync release manifests"
93
+ git push
94
+
80
95
publish :
81
96
name : Publish images
82
97
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments