File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - main
1010 - ' release/*.*.*'
11+ - ' pvijayakrish/stage-dynamo-wheels'
1112
1213permissions :
1314 contents : read
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments