Skip to content

Commit b450daf

Browse files
authored
Update change-log in release workflow (#4)
1 parent 990fa10 commit b450daf

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ jobs:
6565
- name: Configure changelog for genesys-cloud-chatbot-tester
6666
if: steps.publish_sdk.outputs.type != 'none'
6767
run: |
68-
cat <<'EOF' > changelog_config.json
69-
{"categories": [], "template": "## Commits:\n\n${{UNCATEGORIZED}}", "pr_template": "- ${{MERGE_SHA}} ${{TITLE}}"}
70-
EOF
71-
echo "last_tag=$(git describe --tags --match \"genesys-cloud-chatbot-tester-v*\" --abbrev=0 || echo)" >> $GITHUB_ENV
68+
echo '{"categories": [], "template": "## Commits:\n\n${{ '${{UNCATEGORIZED}}' }}", "pr_template": ${{ '"- ${{MERGE_SHA}} ${{TITLE}}"' }} }' > changelog_config.json
69+
echo "last_tag=$(git describe --tags --match \"genesys-cloud-chatbot-tester-v*\" --abbrev=0)" >> $GITHUB_ENV
70+
echo "curr_commit=$(git rev-parse HEAD)" >> $GITHUB_ENV
7271
7372
- name: Generate changelog for genesys-cloud-chatbot-tester
7473
if: steps.publish_sdk.outputs.type != 'none'
@@ -98,10 +97,9 @@ jobs:
9897
- name: Configure changelog for genesys-cloud-chatbot-tester-cli
9998
if: steps.publish_cli.outputs.type != 'none'
10099
run: |
101-
cat <<'EOF' > changelog_config.json
102-
{"categories": [], "template": "## Commits:\n\n${{UNCATEGORIZED}}", "pr_template": "- ${{MERGE_SHA}} ${{TITLE}}"}
103-
EOF
104-
echo "last_tag=$(git describe --tags --match \"genesys-cloud-chatbot-tester-cli-v*\" --abbrev=0 || echo)" >> $GITHUB_ENV
100+
echo '{"categories": [], "template": "## Commits:\n\n${{ '${{UNCATEGORIZED}}' }}", "pr_template": ${{ '"- ${{MERGE_SHA}} ${{TITLE}}"' }} }' > changelog_config.json
101+
echo "last_tag=$(git describe --tags --match \"genesys-cloud-chatbot-tester-cli-v*\" --abbrev=0)" >> $GITHUB_ENV
102+
echo "curr_commit=$(git rev-parse HEAD)" >> $GITHUB_ENV
105103
106104
- name: Generate changelog for genesys-cloud-chatbot-tester-cli
107105
if: steps.publish_cli.outputs.type != 'none'

0 commit comments

Comments
 (0)