-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathchangelog.ejs.dist
17 lines (12 loc) · 1.09 KB
/
changelog.ejs.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Current release deployment
- service: <%= data ? data.service : '' %>
- platform: <%= data ? data.platform : '' %>
- commit: <%= until && until.commit ? '[' + until.commit.sha + '](' + until.commit.html_url + ')' : '' %>
- deployer: <%= data ? data.deployer : '' %>
- deployed_at: <%= (new Date()).toISOString() %>
## Previous release deployment
- commit: <%= since && since.commit ? '[' + since.commit.sha + '](' + since.commit.html_url + ')' : '' %>
- deployed_at: <%= since.date %>
## Changelog
<% pullRequests.forEach(function(pullRequest){ %>
- <% if (!pullRequest.jira) {%><%= pullRequest.title %> ([#<%= pullRequest.number %>](<%= pullRequest.html_url %>)) /by [@<%= pullRequest.user.login %>](<%= pullRequest.user.html_url %>)<% } else { %>![<%= pullRequest.jira.type.name %>](<%- pullRequest.jira.type.iconUrl %>) [<%= pullRequest.jira.key %>](https://<%= config.jira.host %>/browse/<%= pullRequest.jira.key %>) - <%= pullRequest.jira.summary %> ([#<%= pullRequest.number %>](<%= pullRequest.html_url %>)) /by [@<%= pullRequest.user.login %>](<%= pullRequest.user.html_url %>)<% } %><% }); %>