Skip to content

Commit 71998dd

Browse files
committed
chore: ci use custom tag to publish
1 parent 0bb9786 commit 71998dd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Create Release PR
33
on:
44
push:
55
tags:
6-
- 'loro-crdt@*'
6+
- 'rust-pre-release@*'
77
workflow_dispatch:
88
inputs:
99
tag:
10-
description: 'Tag name (e.g., loro-crdt@1.0.0)'
10+
description: 'Tag name (e.g., rust-pre-release@1.0.0)'
1111
required: true
1212
type: string
1313

@@ -35,11 +35,11 @@ jobs:
3535
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
3636
# Extract version from manual input
3737
TAG="${{ github.event.inputs.tag }}"
38-
VERSION=${TAG#loro-crdt@}
38+
VERSION=${TAG#rust-pre-release@}
3939
echo "Manual trigger detected, using input tag: $TAG"
4040
else
4141
# Extract version from pushed tag
42-
VERSION=${GITHUB_REF#refs/tags/loro-crdt@}
42+
VERSION=${GITHUB_REF#refs/tags/rust-pre-release@}
4343
echo "Tag push detected, using pushed tag"
4444
fi
4545
echo "version=$VERSION"

0 commit comments

Comments
 (0)