Skip to content

Commit ce6784f

Browse files
committed
demo rc dry run
Signed-off-by: pvijayakrish <pvijayakrish@nvidia.com>
1 parent 5aa2f53 commit ce6784f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/post-merge-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- main
1010
- 'release/*.*.*'
11+
- 'pvijayakrish/stage-dynamo-wheels'
1112

1213
permissions:
1314
contents: read

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@ jobs:
4949
exit 1
5050
fi
5151
52-
if [[ ! "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
52+
if [[ "$BRANCH_NAME" == "pvijayakrish/stage-dynamo-wheels" ]]; then
53+
VERSION="0.0.0test1"
54+
echo "Devel branch detected — using test version: ${VERSION}"
55+
elif [[ "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
56+
VERSION="${BRANCH_NAME#release/}"
57+
else
5358
echo "Error: workflow_dispatch must be triggered from a release/* branch"
5459
echo "Current branch: $BRANCH_NAME"
5560
exit 1
5661
fi
57-
VERSION="${BRANCH_NAME#release/}"
5862
5963
echo "version=${VERSION}" >> $GITHUB_OUTPUT
6064
echo "commit_sha=${COMMIT_SHA}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)