Skip to content

Commit d5d40b0

Browse files
committed
debug changelog creation
1 parent cf3a886 commit d5d40b0

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ npm install --only=dev --global-style --no-package-lock
1212

1313
./build_release_body.sh
1414
./build_change_history.sh
15+
16+
cat RELEASE_BODY.md

update_change_history.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ function req() {
1111
}, (err, res, body) => {
1212
if (!err) {
1313
parse(JSON.parse(body))
14+
} else {
15+
console.error(err.message);
1416
}
1517
});
1618
}

update_release_body.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ curl --silent -L https://api.github.com/repos/rdmtc/RedMatic/releases/latest > l
44

55
LTAG=`jq -r '.tag_name' latest-release.json`
66

7+
source addon_tmp/redmatic/versions
8+
79
if [ "$LTAG" != "v$VERSION_ADDON" ]; then
810
echo "wrong release"
911
rm latest-release.json

0 commit comments

Comments
 (0)