Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
fix(ci): try gitflow release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
xzima committed Apr 15, 2022
1 parent 93952dc commit e110ad3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gitflow.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Gitflow
on:
push:
branches:
- rc

jobs:
build:
Expand All @@ -12,7 +10,7 @@ jobs:
- uses: Logerfo/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
release: rc # The `release` branch.
release: release # The `release` branch.
master: master # The `master` branch.
dev: rc # The `dev` branch.
label: gitflow # The pull request label.
Expand Down
11 changes: 0 additions & 11 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ plugins:
echo "::set-output name=new_release_version::${nextRelease.version}"
echo "::set-output name=branch_type::${branch.type}"
echo "::set-output name=branch_name::${branch.name}"
if git ls-remote --exit-code --heads origin rc; then
echo "exist"
git checkout -B rc
git merge -X ours -m 'chore(release): Sync with next release [skip ci]' origin/rc
git push origin rc
else
echo "NOT exist"
git checkout -B rc
git push origin rc
fi
- - "@semantic-release/git"
- assets: "."
- - "@semantic-release/github"
Expand Down

0 comments on commit e110ad3

Please sign in to comment.