Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Support awscli(aws-cli) #193

Merged
merged 2 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Sharable config for .tool-version with asdf",
"extends": [
"local>kachick/renovate-config-asdf//plugins/awscli.json5",
"local>kachick/renovate-config-asdf//plugins/bun.json5",
"local>kachick/renovate-config-asdf//plugins/clojure.json5",
"local>kachick/renovate-config-asdf//plugins/crystal.json5",
Expand Down
1 change: 1 addition & 0 deletions examples/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
awscli 2.7.34
bun 0.1.13
clojure 1.11.1.1165
crystal 1.6.0
Expand Down
17 changes: 17 additions & 0 deletions plugins/awscli.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Bump awscli in .tool-versions",
"regexManagers": [
{
"fileMatch": ["\\.tool-versions$"],
"matchStrings": ["^awscli (?<currentValue>.+?)\\n"],
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"matchStrings": ["^awscli (?<currentValue>.+?)\\n"],
"matchStrings": ["awscli (?<currentValue>.+?)\\n"],

^ might not be worked. This is intentional try.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked 🎉 #195

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#200

don't work.

So ^ means whole file start here...? 🤔

// Plugin Fetcher Permalink:
// - https://github.com/asdf-vm/asdf-plugins/blob/ba096638f9dc867bf9a8f7791f22e31d800d3d93/plugins/awscli#L1
// - https://github.com/MetricMike/asdf-awscli/blob/c645552054ad8a8bf3521cc37e7f44ea9dba1def/lib/utils.bash#L5
// - https://github.com/MetricMike/asdf-awscli/blob/c645552054ad8a8bf3521cc37e7f44ea9dba1def/lib/utils.bash#L23-L31
// DataSource URL: https://github.com/aws/aws-cli/tags
"depNameTemplate": "aws/aws-cli",
"datasourceTemplate": "github-tags"
}
]
}
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"labels": [
"renovate",
"dependencies",
"ignore-this-label-just-for-trigger-renovate-52bedf"
"ignore-this-label-just-for-trigger-renovate-424f61"
],
"ignorePaths": [
"**/node_modules/**",
Expand Down