We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f99ab9f commit b1a9f13Copy full SHA for b1a9f13
.github/workflows/release.yml
@@ -124,9 +124,14 @@ jobs:
124
125
- name: Update Cargo.toml version and push to GitHub
126
run: |
127
- REL_TYPE="v0.1.1"
+ REL_TYPE=${{ github.event.inputs.type }}
128
DRY_RUN=${{ github.event.inputs.dry_run }}
129
130
+ # Remove 'v' prefix if provided for version input
131
+ if [[ "$REL_TYPE" =~ ^v ]]; then
132
+ REL_TYPE="${REL_TYPE:1}"
133
+ fi
134
+
135
# Execute version update
136
if [ "$DRY_RUN" = "false" ]; then
137
echo "Updating version in Cargo.toml"
0 commit comments