Skip to content

Commit

Permalink
v3.3.5 (2019-04-22)
Browse files Browse the repository at this point in the history
- [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
  • Loading branch information
regisb committed Apr 22, 2019
1 parent 1a94b05 commit 5558454
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

## Latest
## v3.3.5 (2019-04-22)

- [Feature] Pluggable LMS/CMS/forum
- [Improvement] Safer environment overwrite. Thanks @silviot! 👐
Expand Down
24 changes: 15 additions & 9 deletions Makefile
Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/cli_download.rst
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tutor/__about__.py
@@ -1 +1 @@
__version__ = "3.3.4"
__version__ = "3.3.5"

0 comments on commit 5558454

Please sign in to comment.