Skip to content

Commit b7cd96e

Browse files
committed
Update release.yml
1 parent 731b5a8 commit b7cd96e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
id: version
2828
run: |
2929
VERSION=$(grep -oP '(?<=version: ).*' src/main/resources/plugin.yml | tr -d '"')
30-
echo "version=$VERSION" >> $GITHUB_OUTPUT
30+
SAFE_VERSION=$(echo "$VERSION" | tr '.' '_')
31+
echo "version=$SAFE_VERSION" >> $GITHUB_OUTPUT
3132
3233
- name: Create Release
3334
id: create_release

0 commit comments

Comments
 (0)