Skip to content

Commit

Permalink
chore: fix release workflow (#2796)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <[email protected]>
  • Loading branch information
mkuznyetsov authored Oct 11, 2024
1 parent 0e15da4 commit f99c122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
echo "[ERROR] Cannot proceed with release - tag already exists"
fi
fi
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Set up yq
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ updateYaml() {
return 1
else
if [[ $(git rev-parse --abbrev-ref HEAD) == *"${BRANCH}"* ]]; then
replaceFieldSed $playbookfile 'version' "${BRANCH}"
replaceFieldSed $playbookfile '^version' "${BRANCH}"
replaceFieldSed $playbookfile 'prerelease' "false"
fi
# special fields for updating PR for 7.x.y branch
Expand Down

0 comments on commit f99c122

Please sign in to comment.