v3.3.5 (2019-04-22)
- [Feature] Pluggable LMS/CMS/forum
- [Improvement] Safer environment overwrite. Thanks @silviot! 👐
- [Security] Fix Jinja2 vulnerability
- [Improvement] Improve CLI cold start performance
- [Improvement] Allow uppercase "Y" and "N" as answers to boolean
questions
This commit is contained in:
parent
1a94b05188
commit
555845474d
|
@ -1,6 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## Latest
|
||||
## v3.3.5 (2019-04-22)
|
||||
|
||||
- [Feature] Pluggable LMS/CMS/forum
|
||||
- [Improvement] Safer environment overwrite. Thanks @silviot! 👐
|
||||
|
|
24
Makefile
24
Makefile
|
@ -50,22 +50,28 @@ ci-bundle: ## Create bundle and run basic tests
|
|||
./dist/tutor config printroot
|
||||
./dist/tutor config save --yes --set ACTIVATE_NOTES=true --set ACTIVATE_XQUEUE=true
|
||||
|
||||
ci-github: ## Upload assets to github
|
||||
cat docs/release.md > releases/description.md
|
||||
./releases/github-release: ## Download github-release binary
|
||||
cd releases/ \
|
||||
&& curl -sSL -o ./github-release.tar.bz2 "https://github.com/aktau/github-release/releases/download/v0.7.2/$(shell uname -s | tr "[:upper:]" "[:lower:]")-amd64-github-release.tar.bz2" \
|
||||
&& bzip2 -d -f ./github-release.tar.bz2 \
|
||||
&& tar xf github-release.tar \
|
||||
&& mv "bin/$(shell uname -s | tr "[:upper:]" "[:lower:]")/amd64/github-release" .
|
||||
|
||||
ci-github: ./releases/github-release ## Upload assets to github
|
||||
sed "s/TUTOR_VERSION/v$(shell make version)/g" docs/_release_description.md > releases/description.md
|
||||
git log -1 --pretty=format:%b >> releases/description.md
|
||||
sed -i "s/TUTOR_VERSION/v$$(make -s version)/g" releases/description.md
|
||||
docker run --rm -e "GITHUB_TOKEN=$$GITHUB_TOKEN" regis/github-release:latest release \
|
||||
./releases/github-release release \
|
||||
--user regisb \
|
||||
--repo tutor \
|
||||
--tag "v$$(make -s version)" \
|
||||
--name "v$$(make -s version)" \
|
||||
--tag "v$(shell make version)" \
|
||||
--name "v$(shell make version)" \
|
||||
--description "$$(cat releases/description.md)" || true
|
||||
docker run --rm -e "GITHUB_TOKEN=$$GITHUB_TOKEN" -v "$$(pwd)/dist:/tmp/dist" regis/github-release:latest upload \
|
||||
./releases/github-release upload \
|
||||
--user regisb \
|
||||
--repo tutor \
|
||||
--tag "v$$(make -s version)" \
|
||||
--tag "v$(shell make version)" \
|
||||
--name "tutor-$$(uname -s)_$$(uname -m)" \
|
||||
--file /tmp/dist/tutor \
|
||||
--file ./dist/tutor \
|
||||
--replace
|
||||
|
||||
ci-images: ## Build and push docker images to hub.docker.com
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
.. parsed-literal::
|
||||
|
||||
sudo curl -L "\ https\ ://github.com/regisb/tutor/releases/download/|tutor_version|/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
|
||||
sudo curl -L "\ https\ ://github.com/regisb/tutor/releases/download/v\ |tutor_version|/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
|
||||
sudo chmod +x /usr/local/bin/tutor
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "3.3.4"
|
||||
__version__ = "3.3.5"
|
||||
|
|
Loading…
Reference in New Issue