Skip to content

Commit d5d87bd

Browse files
remove trailing slash if it exists (#97)
1 parent e54550d commit d5d87bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/gitops-action/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ runs:
1919
shell: bash
2020
working-directory: ${{ inputs.working-directory }}
2121
run: |
22+
FLEET_URL="${FLEET_URL%/}"
2223
FLEET_VERSION="$(curl "$FLEET_URL/api/v1/fleet/version" --header "Authorization: Bearer $FLEET_API_TOKEN" --fail --silent | jq --raw-output '.version')"
2324
DEFAULT_FLEETCTL_VERSION="4.80.1"
2425

0 commit comments

Comments
 (0)