Skip to content

Commit 47941da

Browse files
committed
[Breaking Change] (config) Modify the log message to display.
1 parent 272c0ed commit 47941da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_git-tag_and_create_github-release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,23 @@ jobs:
7878
id: python_release
7979
run: |
8080
release=$(bash ./scripts/ci/build_git-tag_or_create_github-release.sh ${{ inputs.project_type }} ${{ inputs.debug_mode }} ${{ inputs.project_name }} ${{ inputs.software_version_format }})
81-
echo "release: $release"
81+
echo "📄 Release log: $release"
8282
83-
release_version=$(echo "$release" | grep -E "\[Python\] \[Final Running Result\] ((Official\-Release)|(Pre\-Release))" | grep -E -o "((Official\-Release)|(Pre\-Release))")
84-
echo "release_version: $release_version"
83+
release_type=$(echo "$release" | grep -E "\[Python\] \[Final Running Result\] ((Official\-Release)|(Pre\-Release))" | grep -E -o "((Official\-Release)|(Pre\-Release))")
84+
echo "🐍 Release Type: $release_type"
8585
86-
echo "::set-output name=release_type::$(echo $release_version)"
86+
echo "::set-output name=release_type::$(echo $release_type)"
8787
8888
# This flow for the project type is GitHub Action reusable workflow
8989
- name: Build git tag and create GitHub release for GitHub Action reusable workflow project
9090
if: ${{ inputs.project_type == 'github-action-reusable-workflow' }}
9191
id: github_action_reusable_workflow_release
9292
run: |
9393
release=$(bash ./scripts/ci/build_git-tag_or_create_github-release.sh ${{ inputs.project_type }} ${{ inputs.debug_mode }})
94-
echo "release: $release"
94+
echo "📄 Release log: $release"
9595
9696
release_version=$(echo "$release" | grep -E "\[GitHub Action - Reusable workflow\] \[Final Running Result\] Official-Release and version: ([0-9]{1,})" | grep -E -o "([0-9]{1,})")
97-
echo "release_version: $release_version"
97+
echo "🤖 Release Version: $release_version"
9898
9999
echo "::set-output name=release_version::$(echo $release_version)"
100100

0 commit comments

Comments
 (0)