1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-05 02:27:48 +02:00

chore: build dist (#827)

Build dist PR
This commit is contained in:
Google GitHub Actions Bot
2023-09-28 13:06:33 -04:00
committed by GitHub
parent 48f987371f
commit 1c7728c18b
9 changed files with 106 additions and 106 deletions

50
dist/commit.hbs vendored
View File

@@ -1,15 +1,20 @@
*{{#if scope}} **{{scope}}:** * {{header}}
{{~/if}} {{#if subject}}
{{~subject}}
{{~else}}
{{~header}}
{{~/if}}
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}} {{~!-- commit link --}}
([{{shortHash}}]({{commitUrlFormat}})) {{~#if @root.linkReferences}} ([{{hash}}](
{{~else}} {{~#if @root.repository}}
{{~shortHash}} {{~#if @root.host}}
{{~/if}}{{~/if}} {{~@root.host}}/
{{~/if}}
{{~#if @root.owner}}
{{~@root.owner}}/
{{~/if}}
{{~@root.repository}}
{{~else}}
{{~@root.repoUrl}}
{{~/if}}/
{{~@root.commit}}/{{hash}}))
{{~else if hash}} {{hash}}{{~/if}}
{{~!-- commit references --}} {{~!-- commit references --}}
{{~#if references~}} {{~#if references~}}
@@ -19,12 +24,31 @@
{{~#if this.owner}} {{~#if this.owner}}
{{~this.owner}}/ {{~this.owner}}/
{{~/if}} {{~/if}}
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}}) {{~this.repository}}#{{this.issue}}](
{{~#if @root.repository}}
{{~#if @root.host}}
{{~@root.host}}/
{{~/if}}
{{~#if this.repository}}
{{~#if this.owner}}
{{~this.owner}}/
{{~/if}}
{{~this.repository}}
{{~else}}
{{~#if @root.owner}}
{{~@root.owner}}/
{{~/if}}
{{~@root.repository}}
{{~/if}}
{{~else}}
{{~@root.repoUrl}}
{{~/if}}/
{{~@root.issue}}/{{this.issue}})
{{~else}} {{~else}}
{{~#if this.owner}} {{~#if this.owner}}
{{~this.owner}}/ {{~this.owner}}/
{{~/if}} {{~/if}}
{{~this.repository}}{{this.prefix}}{{this.issue}} {{~this.repository}}#{{this.issue}}
{{~/if}}{{/each}} {{~/if}}{{/each}}
{{~/if}} {{~/if}}

50
dist/commit1.hbs vendored
View File

@@ -1,20 +1,15 @@
* {{header}} *{{#if scope}} **{{scope}}:**
{{~/if}} {{#if subject}}
{{~subject}}
{{~else}}
{{~header}}
{{~/if}}
{{~!-- commit link --}} {{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
{{~#if @root.linkReferences}} ([{{hash}}]( ([{{shortHash}}]({{commitUrlFormat}}))
{{~#if @root.repository}} {{~else}}
{{~#if @root.host}} {{~shortHash}}
{{~@root.host}}/ {{~/if}}{{~/if}}
{{~/if}}
{{~#if @root.owner}}
{{~@root.owner}}/
{{~/if}}
{{~@root.repository}}
{{~else}}
{{~@root.repoUrl}}
{{~/if}}/
{{~@root.commit}}/{{hash}}))
{{~else if hash}} {{hash}}{{~/if}}
{{~!-- commit references --}} {{~!-- commit references --}}
{{~#if references~}} {{~#if references~}}
@@ -24,31 +19,12 @@
{{~#if this.owner}} {{~#if this.owner}}
{{~this.owner}}/ {{~this.owner}}/
{{~/if}} {{~/if}}
{{~this.repository}}#{{this.issue}}]( {{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
{{~#if @root.repository}}
{{~#if @root.host}}
{{~@root.host}}/
{{~/if}}
{{~#if this.repository}}
{{~#if this.owner}}
{{~this.owner}}/
{{~/if}}
{{~this.repository}}
{{~else}}
{{~#if @root.owner}}
{{~@root.owner}}/
{{~/if}}
{{~@root.repository}}
{{~/if}}
{{~else}}
{{~@root.repoUrl}}
{{~/if}}/
{{~@root.issue}}/{{this.issue}})
{{~else}} {{~else}}
{{~#if this.owner}} {{~#if this.owner}}
{{~this.owner}}/ {{~this.owner}}/
{{~/if}} {{~/if}}
{{~this.repository}}#{{this.issue}} {{~this.repository}}{{this.prefix}}{{this.issue}}
{{~/if}}{{/each}} {{~/if}}{{/each}}
{{~/if}} {{~/if}}

10
dist/footer.hbs vendored
View File

@@ -0,0 +1,10 @@
{{#if noteGroups}}
{{#each noteGroups}}
### {{title}}
{{#each notes}}
* {{text}}
{{/each}}
{{/each}}
{{/if}}

10
dist/footer1.hbs vendored
View File

@@ -1,10 +0,0 @@
{{#if noteGroups}}
{{#each noteGroups}}
### {{title}}
{{#each notes}}
* {{text}}
{{/each}}
{{/each}}
{{/if}}

18
dist/header.hbs vendored
View File

@@ -1,9 +1,9 @@
## {{#if @root.linkCompare~}} ## {{#if isPatch~}} <small>
[{{version}}]({{compareUrlFormat}}) {{~/if~}} {{version}}
{{~else}} {{~#if title}} "{{title}}"
{{~version}} {{~/if~}}
{{~/if}} {{~#if date}} ({{date}})
{{~#if title}} "{{title}}" {{~/if~}}
{{~/if}} {{~#if isPatch~}} </small>
{{~#if date}} ({{date}}) {{~/if}}
{{/if}}

18
dist/header1.hbs vendored
View File

@@ -1,9 +1,9 @@
## {{#if isPatch~}} <small> ## {{#if @root.linkCompare~}}
{{~/if~}} {{version}} [{{version}}]({{compareUrlFormat}})
{{~#if title}} "{{title}}" {{~else}}
{{~/if~}} {{~version}}
{{~#if date}} ({{date}}) {{~/if}}
{{~/if~}} {{~#if title}} "{{title}}"
{{~#if isPatch~}} </small> {{~/if}}
{{~/if}} {{~#if date}} ({{date}})
{{/if}}

16
dist/index.js vendored
View File

@@ -25192,10 +25192,10 @@ module.exports = async (config) => {
commit, commit,
footer footer
] = await Promise.all([ ] = await Promise.all([
readFile(__nccwpck_require__.ab + "template.hbs", 'utf-8'), readFile(__nccwpck_require__.ab + "template1.hbs", 'utf-8'),
readFile(__nccwpck_require__.ab + "header.hbs", 'utf-8'), readFile(__nccwpck_require__.ab + "header1.hbs", 'utf-8'),
readFile(__nccwpck_require__.ab + "commit.hbs", 'utf-8'), readFile(__nccwpck_require__.ab + "commit1.hbs", 'utf-8'),
readFile(__nccwpck_require__.ab + "footer.hbs", 'utf-8') readFile(__nccwpck_require__.ab + "footer1.hbs", 'utf-8')
]) ])
const writerOpts = getWriterOpts(config) const writerOpts = getWriterOpts(config)
@@ -25409,10 +25409,10 @@ function conventionalChangelogWriterInit (context, options) {
includeDetails: false, includeDetails: false,
ignoreReverted: true, ignoreReverted: true,
doFlush: true, doFlush: true,
mainTemplate: readFileSync(__nccwpck_require__.ab + "template1.hbs", 'utf-8'), mainTemplate: readFileSync(__nccwpck_require__.ab + "template.hbs", 'utf-8'),
headerPartial: readFileSync(__nccwpck_require__.ab + "header1.hbs", 'utf-8'), headerPartial: readFileSync(__nccwpck_require__.ab + "header.hbs", 'utf-8'),
commitPartial: readFileSync(__nccwpck_require__.ab + "commit1.hbs", 'utf-8'), commitPartial: readFileSync(__nccwpck_require__.ab + "commit.hbs", 'utf-8'),
footerPartial: readFileSync(__nccwpck_require__.ab + "footer1.hbs", 'utf-8'), footerPartial: readFileSync(__nccwpck_require__.ab + "footer.hbs", 'utf-8'),
...options ...options
} }

20
dist/template.hbs vendored
View File

@@ -1,23 +1,11 @@
{{> header}} {{> header}}
{{#if noteGroups}}
{{#each noteGroups}}
### ⚠ {{title}}
{{#each notes}}
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
{{/each}}
{{/each}}
{{/if}}
{{#each commitGroups}} {{#each commitGroups}}
{{#if title}}
### {{title}}
{{/if}}
{{#each commits}} {{#each commits}}
{{> commit root=@root}} {{> commit root=@root}}
{{/each}} {{/each}}
{{/each}} {{/each}}
{{> footer}}

20
dist/template1.hbs vendored
View File

@@ -1,11 +1,23 @@
{{> header}} {{> header}}
{{#if noteGroups}}
{{#each noteGroups}}
### ⚠ {{title}}
{{#each notes}}
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
{{/each}}
{{/each}}
{{/if}}
{{#each commitGroups}} {{#each commitGroups}}
{{#if title}}
### {{title}}
{{/if}}
{{#each commits}} {{#each commits}}
{{> commit root=@root}} {{> commit root=@root}}
{{/each}} {{/each}}
{{/each}} {{/each}}
{{> footer}}