Skip to content

Commit a05afa1

Browse files
committed
debug build
1 parent 05d18b2 commit a05afa1

5 files changed

+8
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ deploy:
2626
branches:
2727
only:
2828
- master
29-
draft: true
29+
draft: false
3030
after_deploy:
3131
- "./update_release_body.sh"
3232
notifications:

build_addon.sh

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
9696
else
9797
tar --owner=root --group=root -czf $BUILD_DIR/dist/$ADDON_FILE *
9898
fi
99+
99100
cd $BUILD_DIR
100101

101102
sha256sum $BUILD_DIR/dist/$ADDON_FILE > $BUILD_DIR/dist/$ADDON_FILE.sha256

build_release_body.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git log `git describe --tags --abbrev=0`..HEAD --pretty=format:'* %h @%an %s' \
3232
| grep -vi "update readme" \
3333
| grep -vi "bump version" \
3434
| sed -e 's/Sebastian Raff/hobbyquaker/g' \
35-
>> RELEASE_BODY.md
35+
>>RELEASE_BODY.md
3636

3737
cat >>RELEASE_BODY.md <<EOL
3838

update_change_history.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ function req() {
1010
}
1111
}, (err, res, body) => {
1212
if (!err) {
13-
parse(JSON.parse(body))
13+
parse(JSON.parse(body));
1414
} else {
1515
console.error(err.message);
1616
}
1717
});
1818
}
1919

2020
function parse(data) {
21+
if (!data.forEach) {
22+
console.error(data);
23+
}
2124
data.forEach(release => {
2225
console.log(`# [${release.tag_name}](https://github.com/rdmtc/RedMatic/releases/${release.tag_name}) ${release.published_at}`);
2326
let include = false;

update_release_body.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LTAG=`jq -r '.tag_name' latest-release.json`
77
source addon_tmp/redmatic/versions
88

99
if [ "$LTAG" != "v$VERSION_ADDON" ]; then
10-
echo "wrong release"
10+
echo "wrong release $LTAG != v$VERSION_ADDON"
1111
rm latest-release.json
1212
exit 1
1313
fi

0 commit comments

Comments
 (0)