Skip to content

Commit 64d8a2b

Browse files
authored
ci: Update release workflows to include changelog and docs (#604)
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent 45af163 commit 64d8a2b

3 files changed

Lines changed: 38 additions & 33 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"categories": [],
3+
"ignore_labels": [
4+
"ignore"
5+
],
6+
"sort": "ASC",
7+
"template": "\n${{CHANGELOG}}\n\n<details><summary>Changelog Details</summary>\n\n${{UNCATEGORIZED}}\n</details>\n",
8+
"pr_template": "- ${{TITLE}} by @${{AUTHOR}} :: PR: #${{NUMBER}}",
9+
"commit_template": "- ${{TITLE}} by @${{AUTHOR}}",
10+
"empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}",
11+
"duplicate_filter": {
12+
"pattern": ".+",
13+
"on_property": "title",
14+
"method": "match"
15+
},
16+
"transformers": [],
17+
"max_tags_to_fetch": 100,
18+
"max_pull_requests": 500,
19+
"max_back_track_time_days": 365,
20+
"exclude_merge_branches": [],
21+
"tag_resolver": {
22+
"method": "semver"
23+
}
24+
}

‎.github/workflows/release.yaml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ on:
3030
required: true
3131
default: true
3232
type: boolean
33+
generate-changelog:
34+
description: Generate changelog
35+
required: false
36+
default: true
37+
type: boolean
38+
publish-docs:
39+
description: Publish docs
40+
required: false
41+
default: true
42+
type: boolean
3343
version-bump-branch:
3444
description: Branch for version bump
3545
required: true
@@ -41,7 +51,7 @@ permissions:
4151

4252
jobs:
4353
release:
44-
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.54.3
54+
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.73.0
4555
with:
4656
release-ref: ${{ inputs.release-ref || github.sha }}
4757
python-package: nemo_export_deploy_common
@@ -55,6 +65,9 @@ jobs:
5565
custom-container: nvcr.io/nvidia/pytorch:25.11-py3
5666
no-build-isolation: true
5767
runner: nemo-ci-aws-gpu-x2-container
68+
gh-release-use-changelog-builder: ${{ inputs.generate-changelog }}
69+
publish-docs: ${{ inputs.publish-docs }}
70+
docs-target-path: nemo/export-deploy
5871
secrets:
5972
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
6073
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

‎CHANGELOG.md‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)