Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Mar 4, 2024
1 parent 99b2e89 commit 3b726ad
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,13 @@ jobs:
major_minor=$(echo "$VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*$/\1/')
echo "RC_BRANCH=release-$major_minor" >> $GITHUB_ENV
- name: Check out Everest catalog
uses: actions/checkout@v4
with:
repository: percona/everest-catalog
path: everest-catalog

- name: Create Everest catalog release branch
run: |
cd everest-catalog
# Check if the branch already exists
git fetch
check_branch=$(git ls-remote --heads origin ${RC_BRANCH})
if [[ -z ${check_branch} ]]; then
git checkout -b $RC_BRANCH
git push origin $RC_BRANCH
fi
#
# - name: Check out Everest operator
# - name: Check out Everest catalog
# uses: actions/checkout@v4
# with:
# repository: percona/everest-operator
# path: everest-operator
# repository: percona/everest-catalog
# path: everest-catalog
#
# - name: Create Everest operator RC-branch
# - name: Create Everest catalog release branch
# run: |
# cd everest-catalog
# # Check if the branch already exists
Expand All @@ -64,6 +46,24 @@ jobs:
# git checkout -b $RC_BRANCH
# git push origin $RC_BRANCH
# fi
#
- name: Check out Everest operator
uses: actions/checkout@v4
with:
repository: percona/everest-operator
path: everest-operator

- name: Create Everest operator release branch
run: |
cd everest-catalog
# Check if the branch already exists
git fetch
check_branch=$(git ls-remote --heads origin ${RC_BRANCH})
if [[ -z ${check_branch} ]]; then
git checkout -b $RC_BRANCH
git push origin $RC_BRANCH
fi
#
#
# - name: Check out Everest
Expand Down

0 comments on commit 3b726ad

Please sign in to comment.