changelog: a path input for a checkout that is not the workspace itself
decePubClient fetches itself into a folder of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
43b5e6de6d
commit
5ced47c2b9
2 files changed
+6
-1
No files matched your search
@@ -187,6 +187,7 @@ when there is none, and otherwise replaces only what sits between `<!-- changelo
|
|||||||
|
|
||||||
| Input | | |
|
| Input | | |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
|
| `path` | `.` | the git checkout to read, when it is not the workspace itself |
|
||||||
| `prefix` | `v` | the tags of this kind of release |
|
| `prefix` | `v` | the tags of this kind of release |
|
||||||
| `tag` | the tag that started the run | the release being made; empty on a branch, which writes everything since the newest tag as `unreleased` |
|
| `tag` | the tag that started the run | the release being made; empty on a branch, which writes everything since the newest tag as `unreleased` |
|
||||||
| `name` | the repository's name | the product's name in headings |
|
| `name` | the repository's name | the product's name in headings |
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
name: Release notes
|
name: Release notes
|
||||||
description: What changed since the previous tag, from the commit messages, in every format a release needs; optionally on the Releases tab
|
description: What changed since the previous tag, from the commit messages, in every format a release needs; optionally on the Releases tab
|
||||||
inputs:
|
inputs:
|
||||||
|
path:
|
||||||
|
description: The git checkout to read, relative to the workspace
|
||||||
|
default: .
|
||||||
prefix:
|
prefix:
|
||||||
description: The tag prefix of this kind of release (v, app-v, server-v)
|
description: The tag prefix of this kind of release (v, app-v, server-v)
|
||||||
default: v
|
default: v
|
||||||
@@ -45,6 +48,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
RELEASE_TOKEN: ${{ inputs.token }}
|
RELEASE_TOKEN: ${{ inputs.token }}
|
||||||
|
NOTES_PATH: ${{ inputs.path }}
|
||||||
NOTES_PREFIX: ${{ inputs.prefix }}
|
NOTES_PREFIX: ${{ inputs.prefix }}
|
||||||
NOTES_TAG: ${{ inputs.tag }}
|
NOTES_TAG: ${{ inputs.tag }}
|
||||||
NOTES_NAME: ${{ inputs.name }}
|
NOTES_NAME: ${{ inputs.name }}
|
||||||
@@ -54,7 +58,7 @@ runs:
|
|||||||
NOTES_OUTPUT: ${{ inputs.output }}
|
NOTES_OUTPUT: ${{ inputs.output }}
|
||||||
NOTES_RELEASE: ${{ inputs.release }}
|
NOTES_RELEASE: ${{ inputs.release }}
|
||||||
run: |
|
run: |
|
||||||
args=(--repo . --prefix "$NOTES_PREFIX" --name "$NOTES_NAME" --strip "$NOTES_STRIP" --packager "$NOTES_PACKAGER" \
|
args=(--repo "$NOTES_PATH" --prefix "$NOTES_PREFIX" --name "$NOTES_NAME" --strip "$NOTES_STRIP" --packager "$NOTES_PACKAGER" \
|
||||||
--history "$NOTES_HISTORY" --out "$NOTES_OUTPUT")
|
--history "$NOTES_HISTORY" --out "$NOTES_OUTPUT")
|
||||||
[ -n "$NOTES_TAG" ] && args+=(--tag "$NOTES_TAG")
|
[ -n "$NOTES_TAG" ] && args+=(--tag "$NOTES_TAG")
|
||||||
[ "$NOTES_RELEASE" = "true" ] && args+=(--release)
|
[ "$NOTES_RELEASE" = "true" ] && args+=(--release)
|
||||||
|
|||||||
Reference in new issue
Block a user