24 Commits

Author SHA1 Message Date
288f45832c Update version to 1.3.5 and simplify Git URLs.
Bumped the program version to 1.3.5. Replaced [ssh://] prefix in Git URLs with a simplified [git@] format for consistency and cleaner usage. This ensures uniformity across Git operations.
2025-04-23 17:47:24 +02:00
3e0cdc9628 Update version to 1.3.4 and optimize XML version detection
Bumped the program version from 1.3.3 to 1.3.4. Simplified and improved the _xml_version function for better clarity, performance, and accuracy in finding the shortest depth XML version. Updated the URL structure for fetching the latest script during updates to align with GitHub's raw content.
2025-03-19 11:14:47 +02:00
ce947c5826 Add limit on data set returned when tags are used 2024-08-21 23:00:02 +02:00
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 705 additions and 356 deletions

View File

@ -1,12 +1,18 @@
# 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.
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...)
---
# Install
```shell
$ sudo curl -L "https://git.vdm.dev/api/v1/repos/octoleo/octojpack/raw/src/octojpack" -o /usr/local/bin/octojpack
$ sudo curl -L "https://raw.githubusercontent.com/octoleo/octojpack/refs/heads/master/src/octojpack" -o /usr/local/bin/octojpack
$ sudo chmod +x /usr/local/bin/octojpack
```
---
@ -29,15 +35,23 @@ Usage: octojpack [OPTION...]
Packager url
example: octojpack -pu="https://git.vdm.dev/"
======================================================
-md | --main-dir=<path>
load the main working directory
example: octojpack --main-dir=/src
======================================================
-e | --env=<file>
load the environment variables file
example: octojpack --env=/src/.env
======================================================
--conf | --config=<path>
--conf | --config=<path/url>
load the configuration for the package in json format
file-example: src/example.json
example: octojpack --config=config.json
======================================================
-ld | --licence-dir=<path>
load the licence directory
example: octojpack --licence-dir=/src/licence
======================================================
-t | --token=<access_token>
load the global token
example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx
@ -67,7 +81,7 @@ Usage: octojpack [OPTION...]
example: octojpack -h
example: octojpack --help
======================================================
Octojpack v1.0
Octojpack
======================================================
```

File diff suppressed because it is too large Load Diff