Skip to content

Commit 9a76cf0

Browse files
committed
fix (ci): fix PR versioning to be ruby & python compliant
1 parent 0bc75b7 commit 9a76cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-libs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
SHORT_COMMIT_SHA=${COMMIT_SHA::7}
4444
# Remplace le "+" par "-" et les autres caractères non autorisés par des "."
4545
SAFE_BRANCH=$(echo "${{ github.event.workflow_run.head_branch }}" | sed 's/[^a-zA-Z0-9]/-/g')
46-
RELEASE_VERSION="0.0.0-${SAFE_BRANCH}.$SHORT_COMMIT_SHA.${{ github.run_attempt }}"
46+
RELEASE_VERSION="0.0.0.dev${{ github.run_attempt }}-${SAFE_BRANCH}-$SHORT_COMMIT_SHA-${{ github.run_attempt }}"
4747
4848
else
4949
echo "Workflow triggered via unsupported event"

0 commit comments

Comments
 (0)