File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -121,22 +121,26 @@ jobs:
121121 - name : Create Release
122122 env :
123123 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
124- run : |
125- gh release create ${{ needs.deploy-staging.outputs.tag }} \
126- --title "Release ${{ needs.deploy-staging.outputs.tag }}" \
127- --notes-file <(cat <<'EOF'
128- Automated release for tag ${{ needs.deploy-staging.outputs.tag }}
129- **Source Branch:** ${{ needs.deploy-staging.outputs.source_branch }}
130-
131- **Deployed to Staging:** ✅ $(date -u '+%Y-%m-%d %H:%M UTC')
132- **Docker Image:** `aa-web-staging:${{ needs.deploy-staging.outputs.tag }}`
133- **Staging URL:** https://${{ vars.DOMAIN_NAME }}
134-
135- ---
136-
137- ${{ steps.changelog.outputs.changelog }}
138- EOF
139- )
124+ run : |
125+ cat > release_notes.md << 'EOF'
126+ Automated release for tag ${{ needs.deploy-staging.outputs.tag }}
127+
128+ **Source Branch:** ${{ needs.deploy-staging.outputs.source_branch }}
129+
130+ **Deployed to Staging:** ✅ $(date -u '+%Y-%m-%d %H:%M UTC')
131+
132+ **Docker Image:** `aa-web-staging:${{ needs.deploy-staging.outputs.tag }}`
133+
134+ **Staging URL:** https://${{ vars.DOMAIN_NAME }}
135+
136+ ---
137+
138+ ${{ steps.changelog.outputs.changelog }}
139+ EOF
140+
141+ gh release create ${{ needs.deploy-staging.outputs.tag }} \
142+ --title "Release ${{ needs.deploy-staging.outputs.tag }}" \
143+ --notes-file release_notes.md
140144
141145# image: "${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ inputs.image_tag }}",
142146
You can’t perform that action at this time.
0 commit comments