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 da11873 commit d91d91e
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,47 +47,47 @@ jobs:
# 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-operator
# 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
# - name: Check out Everest operator
# uses: actions/checkout@v4
# with:
# repository: percona/everest-operator
# path: everest-operator
#
# - name: Create and update Everest Backend RC-branch
# - name: Create Everest operator release branch
# run: |
# cd backend
# cd everest-operator
# # 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
#
# # update tag refs in scripts
# sed -i "s/0.0.0/$VERSION/g" deploy/quickstart-k8s.yaml
#
# # configure userdata for commits
# git config --global user.email "[email protected]"
# git config --global user.name "Everest RC CI triggered by ${{ github.actor }}"
#
# # commit and push the updated files
# git commit -a -m "update version tag"
# git push origin $RC_BRANCH
# fi
- name: Check out Everest
uses: actions/checkout@v4

- name: Create and update Everest Backend RC-branch
run: |
cd backend
# 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
# update tag refs in scripts
sed -i "s/0.0.0/$VERSION/g" deploy/quickstart-k8s.yaml
# configure userdata for commits
git config --global user.email "[email protected]"
git config --global user.name "Everest RC CI triggered by ${{ github.actor }}"
# commit and push the updated files
git commit -a -m "update version tag"
git push origin $RC_BRANCH
fi

0 comments on commit d91d91e

Please sign in to comment.