Skip to content

Commit

Permalink
Replace whatever in changelog.erb and deb.changes.erb
Browse files Browse the repository at this point in the history
In order to support packaging upload, the distribution must be
set/aligned in changelog and changes files.
Required for example inside dput-ng repo upload app.
  • Loading branch information
loic.chabert authored and jordansissel committed Oct 3, 2022
1 parent c40f681 commit 37f5626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/deb/changelog.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= name %> (<%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>) whatever; urgency=medium
<%= name %> (<%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>) <%= distribution %>; urgency=medium

* Package created with FPM.

Expand Down
2 changes: 1 addition & 1 deletion templates/deb/deb.changes.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Description: <%= firstline %>
<%= remainder.collect { |l| l =~ /^ *$/ ? " ." : " #{l}" }.join("\n") %>
<% end -%>
Changes:
<%= name %> (<%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>) whatever; urgency=medium
<%= name %> (<%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>) <%= distribution %>; urgency=medium
* Package created with FPM.
Checksums-Sha1:
<% changes_files.each do |file| -%>
Expand Down

0 comments on commit 37f5626

Please sign in to comment.