6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-14 06:58:21 +00:00
tutor/changelog.d/scriv/github_release.md.j2

15 lines
453 B
Plaintext
Raw Normal View History

2022-04-24 13:07:52 +00:00
Install this version from pip with:
fix: scriv error during github release See: https://github.com/overhangio/tutor/actions/runs/5260213022/jobs/9506811909#step:9:33 `scriv github-release --repo=overhangio/tutor` causes the following error: Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.7.16/x64/bin/scriv", line 8, in <module> sys.exit(cli()) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/scriv/ghrel.py", line 99, in github_release config=scriv.config, File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "<template>", line 3, in top-level template code TypeError: 'Version' object is not subscriptable
2023-06-14 07:38:07 +00:00
pip install "tutor[full]=={{ version.vtext[1:] }}"
2022-04-24 13:07:52 +00:00
Or download the compiled binaries:
sudo curl -L "https://github.com/overhangio/tutor/releases/download/{{ version }}/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor
See the [installation docs](https://docs.tutor.edly.io/install.html) for more installation options and instructions.
## Changes
{{ body }}