mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 10:55:34 +00:00
chore: fix workflow permission
This commit is contained in:
parent
c73c264e77
commit
4961fc28c9
6
.github/workflows/update-stable.yml
vendored
6
.github/workflows/update-stable.yml
vendored
@ -160,20 +160,20 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git add package.json pnpm-lock.yaml
|
git add package.json pnpm-lock.yaml
|
||||||
git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_version }}"
|
git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_version }}"
|
||||||
git push origin main
|
git push main
|
||||||
|
|
||||||
- name: Update Stable Branch
|
- name: Update Stable Branch
|
||||||
run: |
|
run: |
|
||||||
# Ensure stable branch exists
|
# Ensure stable branch exists
|
||||||
git checkout stable 2>/dev/null || git checkout -b stable
|
git checkout stable 2>/dev/null || git checkout -b stable
|
||||||
git merge main --no-ff -m "chore: merge main into stable for version ${{ steps.bump_version.outputs.new_version }}"
|
git merge main --no-ff -m "chore: merge main into stable for version ${{ steps.bump_version.outputs.new_version }}"
|
||||||
git push origin stable
|
git push stable
|
||||||
|
|
||||||
- name: Create and Push Tag
|
- name: Create and Push Tag
|
||||||
run: |
|
run: |
|
||||||
VERSION="v${{ steps.bump_version.outputs.new_version }}"
|
VERSION="v${{ steps.bump_version.outputs.new_version }}"
|
||||||
git tag -a "$VERSION" -m "Release $VERSION"
|
git tag -a "$VERSION" -m "Release $VERSION"
|
||||||
git push origin "$VERSION"
|
git push "$VERSION"
|
||||||
|
|
||||||
# - name: Create GitHub Release
|
# - name: Create GitHub Release
|
||||||
# env:
|
# env:
|
||||||
|
Loading…
Reference in New Issue
Block a user