docs(auto-update): document new epoch handling
- now termux_pkg_upgrade_version can write epoch extracted from TERMUX_PKG_VERSION, directly. Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
parent
a97590c87c
commit
5d60474d27
|
@ -20,7 +20,7 @@ different suborders are not executed simultaneously.
|
|||
| 1 | `termux_pkg_auto_update` | Yes | By default, decide which method (gitlab, github or repology) to use for update, but can be overrided to use custom method. | *None* |
|
||||
| 2.1 | `termux_github_auto_update` | No | Default update method for packages hosted on github.com. It decides which type of tag to fetch based on `TERMUX_PKG_SRCURL`. | *None* |
|
||||
| 2.2 | `termux_gitlab_auto_update` | No | Default update method for packages hosted on gitlab.com (or host specified by `TERMUX_GITLAB_API_HOST`). It decides which type of tag to fetch based on `TERMUX_PKG_SRCURL`. | *None* |
|
||||
| 3 | `termux_pkg_upgrade_version` | No | Write the latest version and updated checksum, check whether updated package builds properly and then push changes to repo. | • LATEST_VERSION - version to write to build.sh. It should be appended with epoch, if any. <br><br> • --skip-version-check - Optional flag. Do not check whether given LATEST_VERSION is greater than current TERMUX_PKG_VERSION. |
|
||||
| 3 | `termux_pkg_upgrade_version` | No | Write the latest version and updated checksum, check whether updated package builds properly and then push changes to repo. | • LATEST_VERSION - version to write to build.sh. <br><br> • --skip-version-check - Optional flag. Do not check whether given LATEST_VERSION is greater than current TERMUX_PKG_VERSION. |
|
||||
| 3.1 | `termux_pkg_is_update_needed` | No | Check whether LATEST_VERSION is greater than TERMUX_PKG_VERSION or not. <br> Called if `--skip-version-check` was not passed to `termux_pkg_upgrade_version`. <br><br> **NOTE:** You should not call it manually otherwise if `TERMUX_PKG_UPDATE_VERSION_REGEXP` is used, it won't compare versions extracted from it. Version is extracted by `termux_pkg_upgrade_version`. | *Not for public use.* |
|
||||
|
||||
## Overriding
|
||||
|
|
Loading…
Reference in New Issue