We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5af64ef commit 6e2e519Copy full SHA for 6e2e519
1 file changed
.github/workflows/test.yml
@@ -34,12 +34,16 @@ jobs:
34
id: changes
35
name: Check annotated tag
36
run: |
37
+ git fetch --tags -f
38
title=$(git for-each-ref --format="%(contents:subject)" ${GITHUB_REF})
39
body=$(git for-each-ref --format="%(contents:body)" ${GITHUB_REF})
40
tag="${GITHUB_REF#refs/tags/}"
41
if test "$title" = "Version ${tag#v}" -a -n "$body"; then
42
echo "title=$title" >> "$GITHUB_OUTPUT"
- echo "body=$body" >> "$GITHUB_OUTPUT"
43
+ DELIM=$(openssl rand -hex 8)
44
+ echo "body<<$DELIM" >> "$GITHUB_OUTPUT"
45
+ echo "$body" >> "$GITHUB_OUTPUT"
46
+ echo "$DELIM" >> "$GITHUB_OUTPUT"
47
else
48
echo "::error title=Missing tag annotation::$tag"
49
changelog=$(git log --pretty='format:%d%n- %s%n%b---' $(git tag --sort=v:refname | tail -n2 | head -n1)..HEAD)
0 commit comments