Mercurial > code > home > repos > streamed-graph
comparison tasks.py @ 135:a6490559ce73
WIP trying to make a usable release module
author | drewp@bigasterisk.com |
---|---|
date | Sat, 06 May 2023 14:16:01 -0700 |
parents | 8a30f1c9a702 |
children | 845ba03729f9 |
comparison
equal
deleted
inserted
replaced
134:0b526ab94c84 | 135:a6490559ce73 |
---|---|
41 print(" ^^ commit these diffs first") | 41 print(" ^^ commit these diffs first") |
42 return | 42 return |
43 v = ctx.run('pnpm version minor').stdout.strip() | 43 v = ctx.run('pnpm version minor').stdout.strip() |
44 ctx.run(f'hg commit --message "release {v}"') | 44 ctx.run(f'hg commit --message "release {v}"') |
45 build(ctx) | 45 build(ctx) |
46 install_to_bigasterisk_lib(ctx, 'streamed-graph.js', | 46 install_to_bigasterisk_lib(ctx, 'streamed-graph.*', |
47 f'lib/streamed-graph/{v}/') | 47 f'lib/streamed-graph/{v}/') |
48 # this fails with ENEEDAUTH: | 48 # this fails with ENEEDAUTH: |
49 #ctx.run(f'pnpm publish --registry https://bigasterisk.com/js', pty=True) | 49 #ctx.run(f'pnpm publish --registry https://bigasterisk.com/js', pty=True) |
50 | 50 |
51 | 51 |