1
0

commit.hbs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. * {{#if scope}}**{{scope}}** {{/if}}{{subject}}
  2. {{~!-- commit link --}} {{#if @root.linkReferences~}}
  3. ([{{hash}}](
  4. {{~#if @root.repository}}
  5. {{~#if @root.host}}
  6. {{~@root.host}}/
  7. {{~/if}}
  8. {{~#if @root.owner}}
  9. {{~@root.owner}}/
  10. {{~/if}}
  11. {{~@root.repository}}
  12. {{~else}}
  13. {{~@root.repoUrl}}
  14. {{~/if}}/
  15. {{~@root.commit}}/{{hash}}))
  16. {{~else}}
  17. {{~hash}}
  18. {{~/if}}
  19. {{~!-- commit references --}}
  20. {{~#if references~}}
  21. , closes
  22. {{~#each references}} {{#if @root.linkReferences~}}
  23. [
  24. {{~#if this.owner}}
  25. {{~this.owner}}/
  26. {{~/if}}
  27. {{~this.repository}}#{{this.issue}}](
  28. {{~#if @root.repository}}
  29. {{~#if @root.host}}
  30. {{~@root.host}}/
  31. {{~/if}}
  32. {{~#if this.repository}}
  33. {{~#if this.owner}}
  34. {{~this.owner}}/
  35. {{~/if}}
  36. {{~this.repository}}
  37. {{~else}}
  38. {{~#if @root.owner}}
  39. {{~@root.owner}}/
  40. {{~/if}}
  41. {{~@root.repository}}
  42. {{~/if}}
  43. {{~else}}
  44. {{~@root.repoUrl}}
  45. {{~/if}}/
  46. {{~@root.issue}}/{{this.issue}})
  47. {{~else}}
  48. {{~#if this.owner}}
  49. {{~this.owner}}/
  50. {{~/if}}
  51. {{~this.repository}}#{{this.issue}}
  52. {{~/if}}{{/each}}
  53. {{~/if}}