21 Commits

Author SHA1 Message Date
ee4b5003cd Make sure we have the right branch. 2024-05-21 17:11:34 +02:00
5aa4369f83 changed to declare to set global values. 2024-05-18 22:08:23 +02:00
69738f8be6 Add bash logo, written by, linted by to README. 2024-03-20 16:30:31 +02:00
0cacdd8ed5 Fix versioning in xml 2024-03-02 18:50:51 +02:00
bb0405ac5b Add option to get version from package. 2024-01-29 09:20:42 +02:00
8edfe5dc27 Add better managment of tags. Fixed getValueFromJson. 2024-01-22 10:07:29 +02:00
5620954306 Add package branch option so we can target specific brances. 2024-01-21 16:56:04 +02:00
707b200e5f Fixed the token for gitea 2024-01-19 11:52:04 +02:00
5d4b672c11 Fixed GPG key signing issue 2023-02-15 15:23:45 +02:00
aad910fb6c Adds git signing key option. 2023-02-15 02:14:37 +02:00
9012c5b541 Adds correct order of env file loading, from local to global. 2023-02-14 15:41:51 +02:00
f6291bf8ba Adds better folder managment, 2023-02-14 15:13:06 +02:00
050be81a73 Adds option to use tag version when targeting a branch. 2023-02-13 23:11:17 +02:00
b77e7ab45d Adds the options to set user details globaly for all repositories 2023-02-13 22:35:07 +02:00
f3f17fd68a Made sure dynamic config (url paths) dont overrwite eachother. 2023-02-13 16:12:41 +02:00
ae9d304c0b Improves the command input options 2023-02-13 15:37:46 +02:00
6ff9913276 Fixed some formating, and updated the git url to use the shorthand url method 2022-08-04 22:20:13 +02:00
370bc19ed7 Updated the git calls to use ssh:// protocol. 2022-08-04 19:31:57 +02:00
aa282bff5d Adds option to also set per project env values 2022-08-04 19:22:51 +02:00
4054508729 Fixed the version mismatch. 2021-06-09 12:16:41 +02:00
202797f4bf Fixed the releases option to load the assets. 2021-06-09 11:02:19 +02:00
2 changed files with 702 additions and 353 deletions

View File

@ -1,7 +1,13 @@
# Octojpack - Easy Joomla Extension Packaging <h2><img align="middle" src="https://raw.githubusercontent.com/odb/official-bash-logo/master/assets/Logos/Icons/PNG/64x64.png" >
Octojpack - Easy Joomla Extension Packaging
</h2>
Written by Llewellyn van der Merwe (@llewellynvdm)
With this script we can easily package multiple extensions in an automated way from a json configuration file, and environment variables. With this script we can easily package multiple extensions in an automated way from a json configuration file, and environment variables.
Linted by [#ShellCheck](https://github.com/koalaman/shellcheck)
> program only for ubuntu/debian and Gitea systems at this time (should you like to use it on other OS's please open and issue...) > program only for ubuntu/debian and Gitea systems at this time (should you like to use it on other OS's please open and issue...)
--- ---
# Install # Install
@ -29,15 +35,23 @@ Usage: octojpack [OPTION...]
Packager url Packager url
example: octojpack -pu="https://git.vdm.dev/" example: octojpack -pu="https://git.vdm.dev/"
====================================================== ======================================================
-md | --main-dir=<path>
load the main working directory
example: octojpack --main-dir=/src
======================================================
-e | --env=<file> -e | --env=<file>
load the environment variables file load the environment variables file
example: octojpack --env=/src/.env example: octojpack --env=/src/.env
====================================================== ======================================================
--conf | --config=<path> --conf | --config=<path/url>
load the configuration for the package in json format load the configuration for the package in json format
file-example: src/example.json file-example: src/example.json
example: octojpack --config=config.json example: octojpack --config=config.json
====================================================== ======================================================
-ld | --licence-dir=<path>
load the licence directory
example: octojpack --licence-dir=/src/licence
======================================================
-t | --token=<access_token> -t | --token=<access_token>
load the global token load the global token
example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx
@ -67,7 +81,7 @@ Usage: octojpack [OPTION...]
example: octojpack -h example: octojpack -h
example: octojpack --help example: octojpack --help
====================================================== ======================================================
Octojpack v1.0 Octojpack
====================================================== ======================================================
``` ```

File diff suppressed because it is too large Load Diff