Skip to content

Instantly share code, notes, and snippets.

@4513ECHO
Last active August 12, 2022 00:19
Show Gist options
  • Save 4513ECHO/7659eea428a15551b261694e54631865 to your computer and use it in GitHub Desktop.
Save 4513ECHO/7659eea428a15551b261694e54631865 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "AQUA_GLOBAL_CONFIG=$AQUA_GLOBAL_CONFIG"
echo "AQUA_CONFIG=$AQUA_CONFIG"
set -eux
export AQUA_LOG_LEVEL=debug
aqua --version
mkdir foo bar
cat << EOF | tee foo/aqua.yaml
# foo/aqua.yaml
registries:
- type: standard
ref: v3.10.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: cli/[email protected]
EOF
cat << EOF | tee bar/aqua.yaml
# bar/aqua.yaml
registries:
- type: standard
ref: v3.10.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: cli/[email protected]
EOF
cd foo && pwd
gh version # does not show v2.1.0
cd ../bar && pwd
gh version # does not show v2.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment