File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# `release` workflow configuration
22#
3- # This workflow is triggered when a release branch is merged into the main
3+ # This workflow is triggered when a release branch is merged into the master
44# branch. It automates the process of creating a package and releasing it to
55# GitHub and PyPI.
66#
77# Workflow steps:
8- # 0. A release branch named release/[TAG] is merged into main via a pull
8+ # 0. A release branch named release/[TAG] is merged into master via a pull
99# request.
1010# 1. `tagging` job runs:
1111# - A branch named [TAG] is created
4343 git config --global user.email "github-actions[bot]@users.noreply.github.com"
4444 git config --global user.name "github-actions[bot]"
4545 git fetch origin ${{ github.event.pull_request.head.ref }}
46- git checkout main
46+ git checkout master
4747 git tag -a `echo '${{ github.event.pull_request.head.ref }}' | sed 's/release\///'` -m " "
4848 git push origin `echo '${{ github.event.pull_request.head.ref }}' | sed 's/release\///'`
4949
Original file line number Diff line number Diff line change 1818 run : pip install poetry
1919 - name : Bump version
2020 # TODO(masanori): Use uv to bump version
21- run : git branch --show-current | sed 's|release/||' | xargs poetry version | { printf '::set-output name=PR_TITLE::'; cat; }
21+ run : echo "PR_TITLE=$( git branch --show-current | sed 's|release/||' | xargs poetry version)" >> "$GITHUB_OUTPUT"
2222 id : bump
2323 - name : Bump qfeval_functions.__version__
2424 run : git branch --show-current | sed 's|release/||' | xargs -I {} echo '__version__ = "{}"' > qfeval_functions/version.py
You can’t perform that action at this time.
0 commit comments