Skip to content

Commit f9810f6

Browse files
authored
Merge pull request #403 from ma10/develop
fix: create-release job in release workflow
2 parents 9ada03b + e50bd73 commit f9810f6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@ jobs:
200200
TAG: ${{ github.ref_name }}
201201

202202
steps:
203+
- name: Checkout repository
204+
uses: actions/checkout@v4
205+
with:
206+
ref: ${{ env.TAG }}
207+
fetch-depth: 0
208+
203209
- name: Download asset build artifact
204210
uses: actions/download-artifact@v4
205211
with:
@@ -229,7 +235,7 @@ jobs:
229235
env:
230236
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
231237
run: |
232-
RELEASE_NOTES_FILE="${ASSET_DIR}/ja/source/intro/ChangeLog/${TAG:0:4}/${TAG}.rst"
238+
RELEASE_NOTES_FILE="${GITHUB_WORKSPACE}/ja/source/intro/ChangeLog/${TAG:0:4}/${TAG}.rst"
233239
if [ -f "$RELEASE_NOTES_FILE" ]; then
234240
gh release create ${TAG} \
235241
--title "Ver. ${TAG}" \

0 commit comments

Comments
 (0)