Skip to content

Commit 364ba4d

Browse files
committed
ci: Update release workflow to include changelog and docs
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent 0b5789f commit 364ba4d

File tree

4 files changed

+38
-96
lines changed

4 files changed

+38
-96
lines changed
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-docs.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
# limitations under the License.
1414
name: Release docs
1515
on:
16-
push:
17-
branches:
18-
- main
19-
paths:
20-
- 'docs/**'
21-
2216
workflow_dispatch:
2317
inputs:
2418
dry-run:

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ on:
4444
required: true
4545
default: true
4646
type: boolean
47+
generate-changelog:
48+
description: Generate changelog
49+
required: false
50+
default: true
51+
type: boolean
52+
publish-docs:
53+
description: Publish docs
54+
required: false
55+
default: true
56+
type: boolean
4757
version-bump-branch:
4858
description: Branch for version bump
4959
required: true
@@ -55,7 +65,7 @@ permissions:
5565

5666
jobs:
5767
release:
58-
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.54.3
68+
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.73.0
5969
with:
6070
release-ref: ${{ inputs.release-ref || github.sha }}
6171
python-package: nemo_automodel
@@ -69,6 +79,9 @@ jobs:
6979
runner: linux-amd64-cpu16
7080
no-build-isolation: true
7181
app-id: ${{ vars.BOT_ID }}
82+
gh-release-use-changelog-builder: ${{ inputs.generate-changelog }}
83+
publish-docs: ${{ inputs.publish-docs }}
84+
docs-target-path: nemo/automodel
7285
secrets:
7386
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
7487
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

CHANGELOG.md

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

0 commit comments

Comments
 (0)