Skip to content

Commit c3e8e93

Browse files
Merge pull request #3 from pfnet-research/release/0.1.0
Release/0.1.0
2 parents 10be6ec + d1aa358 commit c3e8e93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
@@ -43,7 +43,7 @@ jobs:
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

.github/workflows/version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

0 commit comments

Comments
 (0)