Skip to content

Commit 2691b15

Browse files
author
dry-bot
committed
[devtools] sync
1 parent 5f14353 commit 2691b15

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.devtools/templates/release.erb

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
3+
4+
<% if latest_release.summary %>
5+
<%= latest_release.summary %>
6+
7+
<% end %>
8+
9+
<% if latest_release.added? %>
10+
### Added
11+
12+
<% latest_release.added.each do |log| %>
13+
- <%= log %>
14+
<% end %>
15+
16+
<% end %>
17+
<% if latest_release.fixed? %>
18+
### Fixed
19+
20+
<% latest_release.fixed.each do |log| %>
21+
- <%= log %>
22+
<% end %>
23+
24+
<% end %>
25+
<% if latest_release.changed? %>
26+
### Changed
27+
28+
<% latest_release.changed.each do |log| %>
29+
- <%= log %>
30+
<% end %>
31+
<% end %>
32+
<% if previous_release %>
33+
<% ver_range = "v#{previous_release.version}...v#{latest_release.version}" %>
34+
35+
[Compare <%=ver_range%>](https://github.com/dry-rb/<%= project.name %>/compare/<%=ver_range%>)
36+
<% end %>

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
- name: Trigger release workflow
8181
run: |
8282
tag=$(echo $GITHUB_REF | cut -d / -f 3)
83-
ossy gh w dry-rb/devtools release --payload "{\"tag\":\"$tag\",\"tag_creator\":\"$GITHUB_ACTOR\",\"repo\":\"$GITHUB_REPOSITORY\"}"
83+
ossy gh w dry-rb/devtools release --payload "{\"tag\":\"$tag\",\"sha\":\"${{github.sha}}\",\"tag_creator\":\"$GITHUB_ACTOR\",\"repo\":\"$GITHUB_REPOSITORY\",\"repo_name\":\"${{github.event.repository.name}}\"}"

0 commit comments

Comments
 (0)