Skip to content

Commit

Permalink
Try simplifying the command to resolve the version query
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanjli committed Dec 9, 2024
1 parent 9505185 commit c1be499
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/forklift-resolve.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/updatecli.d/forklift-pallets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sources:
environments:
- name: PATH # needed to find the forklift binary
- name: HOME # needed for Forklift to determine its default workspace path
command: '{{ requiredEnv "CWD" }}/.github/forklift-resolve.sh {{ .path }} {{ index . "version-query" }}'
command: forklift inspector resolve-git-repo {{ .path }}@{{ index . "version-query" }}

conditions:
# TODO: add a condition check for whether the resolved version string appears to be a valid version string (maybe add a forklift inspector subcommand for this)
Expand Down
2 changes: 1 addition & 1 deletion .github/updatecli.d/forklift-repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sources:
environments:
- name: PATH # needed to find the forklift binary
- name: HOME # needed for Forklift to determine its default workspace path
command: '{{ requiredEnv "CWD" }}/.github/forklift-resolve.sh {{ .path }} {{ index . "version-query" }}'
command: forklift inspector resolve-git-repo {{ .path }}@{{ index . "version-query" }}

conditions:
# TODO: add a condition check for whether the resolved version string appears to be a valid version string (maybe add a forklift inspector subcommand for this)
Expand Down

0 comments on commit c1be499

Please sign in to comment.