Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,28 @@ jobs:
echo " Target Exists: ${{ env.TARGET_BRANCH_EXISTS }}"
- name: Create version branch from master
# ref.: https://github.com/peterjgrainger/action-create-branch, v3.0.0
uses: peterjgrainger/action-create-branch@10c7d268152480ae859347db45dc69086cef1d9c
# uses: peterjgrainger/action-create-branch@10c7d268152480ae859347db45dc69086cef1d9c
# if: |
# ( env.TARGET_BRANCH_EXISTS == false || env.TARGET_BRANCH_EXISTS == 'false' ) &&
# ( env.RELEASE_EXISTS == false || env.RELEASE_EXISTS == 'false' ) &&
# ( startsWith(env.RELEASE_BRANCH, 'release/v') && contains(env.RELEASE_BRANCH, '.') )
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# branch: ${{ env.RELEASE_BRANCH }}
# sha: ${{ env.MASTER_REF }}
if: |
( env.TARGET_BRANCH_EXISTS == false || env.TARGET_BRANCH_EXISTS == 'false' ) &&
( env.RELEASE_EXISTS == false || env.RELEASE_EXISTS == 'false' ) &&
( startsWith(env.RELEASE_BRANCH, 'release/v') && contains(env.RELEASE_BRANCH, '.') )
( env.TARGET_BRANCH_EXISTS == 'false' ) &&
( env.RELEASE_EXISTS == 'false' ) &&
startsWith(env.RELEASE_BRANCH, 'release/v') &&
contains(env.RELEASE_BRANCH, '.')
run: |
git fetch origin ${{ github.event.repository.default_branch }}
git checkout -b ${{ env.RELEASE_BRANCH }} origin/${{ github.event.repository.default_branch }}
git push https://x-access-token:${{ secrets.REPO_ACCESS }}@github.com/KiraCore/${{ github.event.repository.name }} ${{ env.RELEASE_BRANCH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: ${{ env.RELEASE_BRANCH }}
sha: ${{ env.MASTER_REF }}
RELEASE_BRANCH: ${{ env.RELEASE_BRANCH }}
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS }}
- name: Create PR from feature to version branch
# ref. repo-sync/pull-request is broken, using cea2aj/pull-request instead
# TODO: cea2aj/pull-request abondoned, we need to switch back to peter-evans/create-pull-request
Expand Down
2 changes: 1 addition & 1 deletion types/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
const (
// we set page iteration limit for safety
PageIterationLimit = 512
SekaiVersion = "v0.4.8"
SekaiVersion = "v0.4.10"
CosmosVersion = "v0.47.6"
)
Loading