diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..b6202f7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "github>circlefin/renovate-config", + "github>circlefin/renovate-config:versions.sh" + ], + "regexManagers": [ + { + "fileMatch": ["scripts/shell/setup.sh"], + "matchStrings": [ + "export (?.*?)_VERSION=\"?(?[^\"\\t\\n\\r]*)\"? +# (?.*?):(?[^\\s]*)( versioning=(?[^\\s]+))?( extractVersion=(?[^\\s]+))?", + "export (?.*?)_TAG=\"?(?[^\"\\t\\n\\r]*)\"? +# (?.*?):(?[^\\s]*)( versioning=(?[^\\s]+))?( extractVersion=(?[^\\s]+))?" + ], + "depNameTemplate": "{{{ replace '_' '-' (lowercase depName) }}}" + } + ] +} diff --git a/scripts/shell/setup.sh b/scripts/shell/setup.sh index e16d809..2b25112 100644 --- a/scripts/shell/setup.sh +++ b/scripts/shell/setup.sh @@ -19,7 +19,7 @@ echo ">> Setting up environment" # ==== Aptos installation ==== -APTOS_CLI_VERSION="4.2.6" +APTOS_CLI_VERSION=4.2.6 # github-releases:aptos-labs extractVersion=^aptos-cli-v(?.*)$ if [ "$CI" == true ]; then curl -sSfL -o /tmp/aptos.zip "https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v$APTOS_CLI_VERSION/aptos-cli-$APTOS_CLI_VERSION-Ubuntu-22.04-x86_64.zip"