Skip to content
Permalink
Browse files

debug build

  • Loading branch information
hobbyquaker committed Mar 6, 2020
1 parent 05d18b2 commit a05afa14e58ffc2b4bd4f8bdcdaa7b61447a96dd
Showing with 8 additions and 4 deletions.
  1. +1 −1 .travis.yml
  2. +1 −0 build_addon.sh
  3. +1 −1 build_release_body.sh
  4. +4 −1 update_change_history.js
  5. +1 −1 update_release_body.sh
@@ -26,7 +26,7 @@ deploy:
branches:
only:
- master
draft: true
draft: false
after_deploy:
- "./update_release_body.sh"
notifications:
@@ -96,6 +96,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
else
tar --owner=root --group=root -czf $BUILD_DIR/dist/$ADDON_FILE *
fi

cd $BUILD_DIR

sha256sum $BUILD_DIR/dist/$ADDON_FILE > $BUILD_DIR/dist/$ADDON_FILE.sha256
@@ -32,7 +32,7 @@ git log `git describe --tags --abbrev=0`..HEAD --pretty=format:'* %h @%an %s' \
| grep -vi "update readme" \
| grep -vi "bump version" \
| sed -e 's/Sebastian Raff/hobbyquaker/g' \
>> RELEASE_BODY.md
>>RELEASE_BODY.md

cat >>RELEASE_BODY.md <<EOL
@@ -10,14 +10,17 @@ function req() {
}
}, (err, res, body) => {
if (!err) {
parse(JSON.parse(body))
parse(JSON.parse(body));
} else {
console.error(err.message);
}
});
}

function parse(data) {
if (!data.forEach) {
console.error(data);
}
data.forEach(release => {
console.log(`# [${release.tag_name}](https://github.com/rdmtc/RedMatic/releases/${release.tag_name}) ${release.published_at}`);
let include = false;
@@ -7,7 +7,7 @@ LTAG=`jq -r '.tag_name' latest-release.json`
source addon_tmp/redmatic/versions

if [ "$LTAG" != "v$VERSION_ADDON" ]; then
echo "wrong release"
echo "wrong release $LTAG != v$VERSION_ADDON"
rm latest-release.json
exit 1
fi

0 comments on commit a05afa1

Please sign in to comment.
You can’t perform that action at this time.