Skip to content

Commit

Permalink
[skip ci] internal(scripts): Proper GitHub release tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachiNachshon committed Dec 14, 2024
1 parent db5821c commit 3cfb9ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/create_github_release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ runs:
run: |
echo "::group::Creating a GitHub release"
project_to_release=${{ inputs.project_to_release }}
plugin_pure_name=${project_to_release#provisioner_}
plugin_pure_name=${project_to_release#provisioner_} # Remove 'provisioner_' prefix
plugin_pure_name=${plugin_pure_name//_/\-} # Replace '_' with '-'
cd plugins/${project_to_release}
../../scripts/publish_to_pypi.sh publish -y --build-type wheel --release-type github --release-tag-prefix ${plugin_pure_name}
Expand Down

0 comments on commit 3cfb9ff

Please sign in to comment.