You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -170,18 +177,35 @@ Validates that Python files have proper NVIDIA copyright headers.
170
177
171
178
## Internal Release Workflow
172
179
173
-
The `internal-release.yml` workflow builds a wheel and publishes it to NVIDIA Artifactory. Use this for testing the release process or distributing internal builds.
180
+
The `internal-release.yml` workflow builds a wheel and publishes it to NVIDIA Artifactory or PyPI.
181
+
182
+
### Triggers
183
+
184
+
**Tag push (automatic):** Pushing a `v[0-9]*` tag (e.g. `git tag v0.2.0 && git push --tags`) automatically builds and publishes to Artifactory. This is the primary release mechanism.
185
+
186
+
**Manual dispatch:** Go to Actions > Internal Release and run with:
187
+
-`release-ref`: Branch, tag, or commit SHA to build (defaults to `main`)
188
+
-`publish-target`: `artifactory` (default) or `pypi`
174
189
175
190
### How to Publish Internally
176
191
177
-
Via GitHub Actions:
192
+
Tag-based (recommended):
193
+
194
+
```bash
195
+
git tag v0.2.0
196
+
git push --tags
197
+
```
198
+
199
+
This triggers the workflow automatically and publishes to Artifactory.
200
+
201
+
Via GitHub Actions (manual):
178
202
179
203
1. Go to Actions > Internal Release
180
204
2. Click Run workflow
181
-
3. Enter the branch, tag, or commit SHA to build (defaults to `main`)
182
-
4.The workflow builds the wheel, uploads it as an artifact, and publishes to Artifactory
205
+
3. Enter the branch, tag, or commit SHA to build
206
+
4.Select publish target (`artifactory` or `pypi`)
183
207
184
-
Requires `ARTIFACTORY_USERNAME`, `ARTIFACTORY_TOKEN`, and `ARTIFACTORY_INTERNAL_URL` secrets to be configured.
208
+
Requires `ARTIFACTORY_USERNAME`, `ARTIFACTORY_TOKEN`, and `ARTIFACTORY_INTERNAL_URL` secrets for Artifactory; `TWINE_USERNAME` and `TWINE_PASSWORD` for PyPI.
0 commit comments