Skip to content

Commit 51382b9

Browse files
committed
fix: revert changes
1 parent 3dcb0d9 commit 51382b9

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ on:
88
concurrency:
99
group: release
1010

11-
permissions:
12-
contents: write
13-
pull-requests: write
14-
1511
jobs:
1612
release-please:
1713
runs-on: ubuntu-latest
@@ -77,6 +73,25 @@ jobs:
7773
- name: Deploy
7874
run: echo "Deploying to production!"
7975

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+
8095
publish:
8196
name: Publish images
8297
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)