From 5492bda6d284c8f9e84fa8c2150817af669d5c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sat, 2 Mar 2024 18:14:08 +0100 Subject: [PATCH] structure for autodeployment --- .deployment/create_info_json.php | 27 +++++++++++++++++++++++++++ .deployment/info.json | 17 +++++++++++++++++ .deployment/info.json.tpl | 17 +++++++++++++++++ Makefile | 12 ++++++++++++ changelog | 23 +++++++++++++++++++++++ info.json | 17 +++++++++++++++++ info2.json | 17 +++++++++++++++++ 7 files changed, 130 insertions(+) create mode 100644 .deployment/create_info_json.php create mode 100644 .deployment/info.json create mode 100644 .deployment/info.json.tpl create mode 100644 Makefile create mode 100644 changelog create mode 100644 info.json create mode 100644 info2.json diff --git a/.deployment/create_info_json.php b/.deployment/create_info_json.php new file mode 100644 index 0000000..e66c9a3 --- /dev/null +++ b/.deployment/create_info_json.php @@ -0,0 +1,27 @@ +Version 4.3.1

Version 4.2.1

Version 4.1.1

" + } +} \ No newline at end of file diff --git a/.deployment/info.json.tpl b/.deployment/info.json.tpl new file mode 100644 index 0000000..e611cd6 --- /dev/null +++ b/.deployment/info.json.tpl @@ -0,0 +1,17 @@ +{ + "name": "BdP Kompass", + "slug": "bdp-kompass", + "author": "Thomas Günther", + "author_profile": "https://sachsen.pfadfinden.de", + "version": "%version%", + "download_url": "http://lv-sachsen-main.bdp.mein-verein.online/wordpress/bdp-kompass-%version%.zip", + "requires": "6.0", + "tested": "6.5", + "requires_php": "8.2", + "last_updated": "%date%", + "sections": { + "description": "Wordpress-Plugin zur Unterstützung von Stämmen im Bund der Pfadfinderinnen und Pfadfinder e.V. zur optimalen Verwaltung eurer Webseite", + "installation": "Bitte wendet euch an den LB IT, falls ihr zur Installation oder zu Updates Fragen habt.", + "changelog": "%changelog%" + } +} \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2762041 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +deploy: bdp-kompass.php + @php ./.deployment/create_info_json.php $(version) + mkdir -p ./.deployment/bdp-kompass/bdp-kompass + cp -r * ./.deployment/bdp-kompass/bdp-kompass + rm ./.deployment/bdp-kompass/bdp-kompass/changelog + rm ./.deployment/bdp-kompass/bdp-kompass/Makefile + rm -rf ./.deployment/bdp-kompass/bdp-kompass/.deployment + rm -rf ./.deployment/bdp-kompass/bdp-kompass/.git + cd ./.deployment/bdp-kompass/ && zip -qr ./bdp-kompass-$(version).zip ./bdp-kompass/ + lftp -e "put -O / ./.deployment/bdp-kompass/bdp-kompass-$(version).zip; bye" -u "lv-sachsen-main_ftp3,sE&xDXc8za#S" bdp.mein-verein.online + rm -rf ./.deployment/bdp-kompass/ + rm -rf ./.deployment/info.json/ \ No newline at end of file diff --git a/changelog b/changelog new file mode 100644 index 0000000..6bff3af --- /dev/null +++ b/changelog @@ -0,0 +1,23 @@ +

Version 4.3.2

+ + +

Version 4.3.1

+ + +

Version 4.2.1

+ + +

Version 4.1.1

+ \ No newline at end of file diff --git a/info.json b/info.json new file mode 100644 index 0000000..5dcba19 --- /dev/null +++ b/info.json @@ -0,0 +1,17 @@ +{ + "name": "BdP Kompass", + "slug": "bdp-kompass", + "author": "Thomas Günther", + "author_profile": "https://sachsen.pfadfinden.de", + "version": "4.3.2", + "download_url": "http://lv-sachsen-main.bdp.mein-verein.online/wordpress/bdp-kompass-4.3.2.zip", + "requires": "6.0", + "tested": "6.5", + "requires_php": "8.2", + "last_updated": "02.03.2024 17:02:00", + "sections": { + "description": "Wordpress-Plugin zur Unterstützung von Stämmen im Bund der Pfadfinderinnen und Pfadfinder e.V. zur optimalen Verwaltung eurer Webseite", + "installation": "Bitte wendet euch an den LB IT, falls ihr zur Installation oder zu Updates Fragen habt.", + "changelog": "

Version 4.3.2

Version 4.3.1

Version 4.2.1

Version 4.1.1

" + } +} \ No newline at end of file diff --git a/info2.json b/info2.json new file mode 100644 index 0000000..98d06df --- /dev/null +++ b/info2.json @@ -0,0 +1,17 @@ +{ + "name": "BdP Kompass", + "slug": "bdp-kompass", + "author": "Thomas Günther", + "author_profile": "https://sachsen.pfadfinden.de", + "version": "4.3.2", + "download_url": "http://lv-sachsen-main.bdp.mein-verein.online/wordpress/bdp-kompass-4.3.2.zip", + "requires": "6.0", + "tested": "6.5", + "requires_php": "8.2", + "last_updated": "02.03.2024 16:51:00", + "sections": { + "description": "Wordpress-Plugin zur Unterstützung von Stämmen im Bund der Pfadfinderinnen und Pfadfinder e.V. zur optimalen Verwaltung eurer Webseite", + "installation": "Bitte wendet euch an den LB IT, falls ihr zur Installation oder zu Updates Fragen habt.", + "changelog": "

Version 4.3.1

Version 4.2.1

Version 4.1.1

" + } +} \ No newline at end of file