Skip to content

Commit

Permalink
script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAdderley committed Jan 17, 2019
1 parent b1937f0 commit 91a5906
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ deploy:
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: deploy/*
body: "$CHANGELOG"
# Removed as doesn't handle newlines
# body: "$CHANGELOG"
name: $RELEASE_NAME
skip_cleanup: true
on:
Expand Down
7 changes: 4 additions & 3 deletions build_scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ def build_extras(version_data, build_packages=False):
version_data (dict): Contents of the .version file
build_packages (bool): whether to create an individual zipfile for each package
"""
for root, dirs, files in os.walk("Extras"):
for name in dirs:
build_extra(name, version_data, build_packages)
dirs = [name for name in os.listdir("Extras") if os.path.isdir(os.path.join("Extras", name))]

for name in dirs:
build_extra(name, version_data, build_packages)

def build_extra(name, version_data, build_package):
"""
Expand Down
1 change: 0 additions & 1 deletion build_scripts/build_support/curseforge.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
from contextlib import closing
from requests_toolbelt.multipart.encoder import MultipartEncoder
import json

class CurseForgeAPI(object):
Expand Down
1 change: 0 additions & 1 deletion build_scripts/build_support/spacedock.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Class for accessing the SpaceDock API
import requests
from contextlib import closing
from requests_toolbelt.multipart.encoder import MultipartEncoder

class SpaceDockAPI(object):

Expand Down

0 comments on commit 91a5906

Please sign in to comment.