Skip to content

Commit 802267f

Browse files
committed
ci: better release
1 parent 6306c6b commit 802267f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,18 +387,18 @@ jobs:
387387
git fetch --tags
388388
echo "PREVERSION=$(git describe --tags --abbrev=0 HEAD)" >> $GITHUB_ENV
389389
390-
- name: Merge Alpha branch into Meta
390+
- name: Force push Alpha branch to Meta
391391
run: |
392392
git config --global user.email "github-actions[bot]@users.noreply.github.com"
393393
git config --global user.name "github-actions[bot]"
394394
git fetch origin Alpha:Alpha
395-
git merge Alpha
396-
git push origin Meta
395+
git push origin Alpha:Meta --force
397396
env:
398397
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
399398

400-
- name: Tag the commit
399+
- name: Tag the commit on Alpha
401400
run: |
401+
git checkout Alpha
402402
git tag ${{ github.event.inputs.version }}
403403
git push origin ${{ github.event.inputs.version }}
404404
env:

0 commit comments

Comments
 (0)