Skip to content

Commit 500dbf0

Browse files
authored
Docs: [AEA-0000] - fix tag format in release notes (#144)
## Summary - Routine Change ### Details - fix tag format in release notes
1 parent 2170c6d commit 500dbf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
cat semantic-release-output.log
7474
exit 1
7575
fi
76-
tagFormat=$(jq -r .tagFormat .releaserc)
76+
tagFormat=$(node -e "const config=require('./release.config.js'); console.log(config.tagFormat)")
7777
if [ "${tagFormat}" = "null" ]
7878
then
7979
tagFormat="v\${version}"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
id: output_version_tag
6565
run: |
6666
NEXT_VERSION=$(npx semantic-release --dry-run | grep -i 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
67-
tagFormat=$(jq -r .tagFormat .releaserc)
67+
tagFormat=$(node -e "const config=require('./release.config.js'); console.log(config.tagFormat)")
6868
if [ "${tagFormat}" = "null" ]
6969
then
7070
tagFormat="v\${version}"

0 commit comments

Comments
 (0)