From ba4d8b0b35b008dec275d32a8c09d5ee301dc09f Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 18 Apr 2019 13:23:48 +0300 Subject: [PATCH] Update to newest GitHub flawored markdown. Thanks to shaygover and xet7 ! Related #2334 --- CHANGELOG.md | 10 ++++++++++ Dockerfile | 1 + rebuild-wekan.bat | 1 + releases/rebuild-release.sh | 17 +++++++++-------- releases/rebuild-wekan.sh | 1 + releases/virtualbox/rebuild-wekan.sh | 1 + snapcraft.yaml | 5 +++++ 7 files changed, 28 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30fbda816..67f34f251 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# Upcoming Wekan release + +This release adds the following updates: + +- [Update to use newest GitHub flawored markdown](https://github.com/wekan/wekan/commit/fea2ad3d7d09b44c3de1dbcdd3f8750aaa6776d5), + because [it was found old version was in use](https://github.com/wekan/wekan/issues/2334). + Thanks to shaygover and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v2.60 2019-04-08 Wekan release This release fixes the following bugs: diff --git a/Dockerfile b/Dockerfile index 73f8e4bc7..dd683a139 100644 --- a/Dockerfile +++ b/Dockerfile @@ -200,6 +200,7 @@ RUN \ gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/wekan-ldap.git && \ gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/wekan-scrollbar.git && \ gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/meteor-accounts-oidc.git && \ + gosu wekan:wekan git clone --depth 1 -b master --recurse-submodules git://github.com/wekan/markdown.git && \ gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc && \ gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc && \ gosu wekan:wekan rm -rf meteor-accounts-oidc && \ diff --git a/rebuild-wekan.bat b/rebuild-wekan.bat index ca4d7f61f..ae3e59d23 100644 --- a/rebuild-wekan.bat +++ b/rebuild-wekan.bat @@ -36,6 +36,7 @@ git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git +git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git move meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc move meteor-accounts-oidc/packages/switch_oidc wekan_oidc del /S /F /Q meteor-accounts-oidc diff --git a/releases/rebuild-release.sh b/releases/rebuild-release.sh index ce3d445d0..6aa83dd30 100755 --- a/releases/rebuild-release.sh +++ b/releases/rebuild-release.sh @@ -5,14 +5,15 @@ rm -rf packages mkdir -p ~/repos/wekan/packages cd ~/repos/wekan/packages - git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router - git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core - git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git - git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git - git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git - git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git - mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc - mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc + git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router + git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core + git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git + git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git + git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git + git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git + git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git + mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc + mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc if [[ "$OSTYPE" == "darwin"* ]]; then echo "sed at macOS"; diff --git a/releases/rebuild-wekan.sh b/releases/rebuild-wekan.sh index bee5a2284..2f3e3eebe 100755 --- a/releases/rebuild-wekan.sh +++ b/releases/rebuild-wekan.sh @@ -95,6 +95,7 @@ do git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git + git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc rm -rf meteor-accounts-oidc diff --git a/releases/virtualbox/rebuild-wekan.sh b/releases/virtualbox/rebuild-wekan.sh index 546e9d1e8..2ae28526e 100755 --- a/releases/virtualbox/rebuild-wekan.sh +++ b/releases/virtualbox/rebuild-wekan.sh @@ -72,6 +72,7 @@ do git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git + git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc rm -rf meteor-accounts-oidc diff --git a/snapcraft.yaml b/snapcraft.yaml index e4b765a50..9e77d5473 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -184,6 +184,11 @@ parts: rm -rf meteor-accounts-oidc cd .. fi + if [ ! -d "packages/markdown" ]; then + cd packages + git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git + cd .. + fi rm -rf package-lock.json .build meteor add standard-minifier-js --allow-superuser meteor npm install --allow-superuser