Skip to content

Commit 10e5bfa

Browse files
committed
Maybe fix deploy job
1 parent b703cc6 commit 10e5bfa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/deploy.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@
3131
sys.path.append(os.path.dirname(__file__)) # noqa
3232

3333

34-
DIST = os.path.join(tools.ROOT, 'dist')
34+
DIST = os.path.join(tools.HYPOTHESIS_PYTHON, 'dist')
3535

3636

3737
PENDING_STATUS = ('started', 'created')
3838

3939

4040
if __name__ == '__main__':
41+
os.chdir(tools.HYPOTHESIS_PYTHON)
42+
4143
last_release = tools.latest_version()
4244

4345
print('Current version: %s. Latest released version: %s' % (

scripts/hypothesistooling.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def is_ancestor(a, b):
100100
return check == 0
101101

102102

103-
CHANGELOG_FILE = os.path.join(ROOT, 'docs', 'changes.rst')
103+
CHANGELOG_FILE = os.path.join(HYPOTHESIS_PYTHON, 'docs', 'changes.rst')
104104

105105

106106
def changelog():
@@ -208,7 +208,7 @@ def all_files():
208208
'ascii').splitlines()
209209

210210

211-
RELEASE_FILE = os.path.join(ROOT, 'RELEASE.rst')
211+
RELEASE_FILE = os.path.join(HYPOTHESIS_PYTHON, 'RELEASE.rst')
212212

213213

214214
def has_release():

0 commit comments

Comments
 (0)