Skip to content

Commit

Permalink
chore: ensure updatecli keys are lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
loispostula authored and greaka committed Nov 29, 2023
1 parent 14c79d4 commit c352302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions updatecli/updatecli.d/rust/check-crate-exists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ sources:
kind: 'toml'
spec:
file: './Cargo.toml'
Key: 'package.name'
key: 'package.name'
target_version:
name: 'Get current crate version'
kind: 'toml'
spec:
file: './Cargo.toml'
Key: 'package.version'
key: 'package.version'

conditions:
version_exists:
Expand All @@ -31,7 +31,7 @@ conditions:
failwhen: true
spec:
package: '{{ source "crate_name" }}'
Version: '{{ source "target_version" }}'
version: '{{ source "target_version" }}'


targets:
Expand Down
6 changes: 3 additions & 3 deletions updatecli/updatecli.d/rust/check-public-crate-exists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ sources:
kind: 'toml'
spec:
file: './Cargo.toml'
Key: 'package.name'
key: 'package.name'
target_version:
name: 'Get current crate version'
kind: 'toml'
spec:
file: './Cargo.toml'
Key: 'package.version'
key: 'package.version'

conditions:
version_exists:
Expand All @@ -22,7 +22,7 @@ conditions:
failwhen: true
spec:
package: '{{ source "crate_name" }}'
Version: '{{ source "target_version" }}'
version: '{{ source "target_version" }}'


targets:
Expand Down

0 comments on commit c352302

Please # to comment.