Skip to content

Commit 0d5b316

Browse files
committed
support EXTRA_RELEASE_PATHS in the env vars for release files
1 parent fc899db commit 0d5b316

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

perl-module-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# brian's standard GitHub Actions release config for Perl 5 modules
2-
# version 20240825.001
2+
# version 20241118.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
@@ -94,7 +94,7 @@ jobs:
9494
id: version
9595
- name: Changes extract
9696
run: |
97-
perl -00 -lne 'next unless /\A\d+\.\d+(_\d+)?/; print s/^\h+([*-])/$1/grm; last' Changes > Changes-latest
97+
perl -00 -lne 'next unless /\A\d+\.\d+(_\d+)?/; s/^\h+([*-])/$1/gm; s/^-/ -/gm; print; last' Changes > Changes-latest
9898
cat Changes-latest
9999
id: extract
100100
# https://cli.github.com/manual/gh_attestation_verify
@@ -117,4 +117,5 @@ jobs:
117117
files: |
118118
${{ env.ASSET_NAME }}
119119
${{ steps.attestation.outputs.bundle-path }}
120+
${{ vars.EXTRA_RELEASE_PATHS }}
120121
token: ${{ secrets.RELEASE_ACTION_TOKEN }}

0 commit comments

Comments
 (0)