Skip to content

Commit

Permalink
Try and handle the weird OpenSSL tagging scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeister2 committed Dec 16, 2023
1 parent 6a0bf3f commit 4c7fbff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"customType": "regex",
"fileMatch": ["^scripts/VERSIONS$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VERSION=(?<currentValue>.*)\\s"
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
}
]
}
2 changes: 1 addition & 1 deletion scripts/VERSIONS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# renovate: datasource=github-tags depName=openssl/openssl versioning=semver registryUrl=https://github.com
# renovate: datasource=github-tags depName=openssl/openssl extractVersion=^openssl-(?<version>.+)$ registryUrl=https://github.com
OPENSSL_VERSION=openssl-3.2.0

# renovate: datasource=github-tags depName=nghttp2/nghttp2 versioning=semver registryUrl=https://github.com
Expand Down

0 comments on commit 4c7fbff

Please sign in to comment.