Skip to content

Commit

Permalink
add APR to updatecli manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Oct 29, 2024
1 parent 4a2c36c commit aa0c4b6
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions updatecli.d/01_tomcat_version.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ scms:
spec:
url: https://github.com/apache/tomcat-native.git
branch: main
aprGitHub:
kind: git
spec:
url: https://github.com/apache/apr.git
branch: trunk

sources:
tomcatVersion:
Expand All @@ -24,19 +29,34 @@ sources:
versionfilter:
kind: semver
pattern: "~{{ requiredEnv "TCNATIVE_SOURCE_PATTERN" }}"
aprTag:
name: Get Apache APR library version
kind: gittag
scmid: aprGitHub
spec:
versionfilter:
kind: semver
pattern: "~{{ requiredEnv "APR_SOURCE_PATTERN" }}"

targets:
tomcatJson:
name: Update version in json target
name: Update Tomcat version in json target
kind: json
sourceid: tomcatVersion
spec:
file: tomcat{{ requiredEnv "TOMCAT_MAJOR" }}.json
key: tomcat_version
tcnativeJson:
name: Update version in json target
name: Update TCnative version in json target
kind: json
sourceid: tcnativeTag
spec:
file: tomcat{{ requiredEnv "TOMCAT_MAJOR" }}.json
key: tcnative_version
aprJson:
name: Update APR version in json target
kind: json
sourceid: aprTag
spec:
file: tomcat{{ requiredEnv "TOMCAT_MAJOR" }}.json
key: apr_version

0 comments on commit aa0c4b6

Please sign in to comment.