Last active
August 12, 2022 00:19
-
-
Save 4513ECHO/7659eea428a15551b261694e54631865 to your computer and use it in GitHub Desktop.
shell script to test https://aquaproj.github.io/docs/tutorial-basics/change-version-per-project/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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