Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
473db9aa2d
|
|||
|
85901d62fc
|
|||
|
8cdf29d1af
|
@@ -66,6 +66,9 @@ runs:
|
|||||||
- name: Generate and commit changelog (unreleased)
|
- name: Generate and commit changelog (unreleased)
|
||||||
if: steps.detect.outputs.version_changed == 'false'
|
if: steps.detect.outputs.version_changed == 'false'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ inputs.token || '' }}
|
||||||
|
GITEA_API_URL: ${{ github.server_url }}/api/v1
|
||||||
run: |
|
run: |
|
||||||
${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
|
${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
|
||||||
|
|
||||||
@@ -74,5 +77,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
||||||
|
GITEA_TOKEN: ${{ inputs.token || '' }}
|
||||||
|
GITEA_API_URL: ${{ github.server_url }}/api/v1
|
||||||
run: |
|
run: |
|
||||||
${{ github.action_path }}/scripts/release-from-version.sh
|
${{ github.action_path }}/scripts/release-from-version.sh
|
||||||
|
|||||||
@@ -4,15 +4,13 @@
|
|||||||
# Lines starting with "#" are comments.
|
# Lines starting with "#" are comments.
|
||||||
# Configuration options are organized into tables and keys.
|
# Configuration options are organized into tables and keys.
|
||||||
# See documentation for more information on available options.
|
# See documentation for more information on available options.
|
||||||
# [remote.gitea] # Disabled by default
|
[remote.gitea]
|
||||||
# owner = "%OWNER%"
|
owner = "%OWNER%"
|
||||||
# repo = "%REPO%"
|
repo = "%REPO%"
|
||||||
|
|
||||||
[changelog]
|
[changelog]
|
||||||
postprocessors = [
|
postprocessors = [
|
||||||
{ pattern = '<GITEA_URL>', replace = "https://git.0xmax42.io" }, # replace gitea url
|
{ pattern = '<GITEA_URL>', replace = "https://git.0xmax42.io" }, # replace gitea url
|
||||||
{ pattern = '<OWNER>', replace = "%OWNER%" }, # replace owner
|
|
||||||
{ pattern = '<REPO>', replace = "%REPO%" }, # replace repo
|
|
||||||
]
|
]
|
||||||
|
|
||||||
header = """
|
header = """
|
||||||
@@ -22,7 +20,7 @@ All notable changes to this project will be documented in this file.\n
|
|||||||
|
|
||||||
body = """
|
body = """
|
||||||
{%- macro remote_url() -%}
|
{%- macro remote_url() -%}
|
||||||
<GITEA_URL>/<OWNER>/<REPO>
|
<GITEA_URL>/{{ remote.gitea.owner }}/{{ remote.gitea.repo }}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro indent(text, prefix=" ") -%}
|
{%- macro indent(text, prefix=" ") -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user