Skip to content

Commit b1a9f13

Browse files
committed
fix: adjust tag and versioning
1 parent f99ab9f commit b1a9f13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,14 @@ jobs:
124124
125125
- name: Update Cargo.toml version and push to GitHub
126126
run: |
127-
REL_TYPE="v0.1.1"
127+
REL_TYPE=${{ github.event.inputs.type }}
128128
DRY_RUN=${{ github.event.inputs.dry_run }}
129129
130+
# Remove 'v' prefix if provided for version input
131+
if [[ "$REL_TYPE" =~ ^v ]]; then
132+
REL_TYPE="${REL_TYPE:1}"
133+
fi
134+
130135
# Execute version update
131136
if [ "$DRY_RUN" = "false" ]; then
132137
echo "Updating version in Cargo.toml"

0 commit comments

Comments
 (0)