Skip to content

Commit

Permalink
Use proper placeholder instead of a real version.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Nov 22, 2023
1 parent c8d0501 commit 14eb5cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_data/package-files/7.5.0/build-ansible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MAJOR="7"
# For idempotency, remove build data or built output first
rm -rf ansible-build-data built

pip3 install --user --upgrade "antsibull==0.59.1"
pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
git clone https://github.com/ansible-community/ansible-build-data.git
mkdir -p built collection-cache
BUILD_DATA_DIR="ansible-build-data/${MAJOR}"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data/package-files/8.1.0/build-ansible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MAJOR="8"
# For idempotency, remove build data or built output first
rm -rf ansible-build-data built

pip3 install --user --upgrade "antsibull==0.59.1"
pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
git clone https://github.com/ansible-community/ansible-build-data.git
mkdir -p built collection-cache
BUILD_DATA_DIR="ansible-build-data/${MAJOR}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MAJOR="8"
# For idempotency, remove build data or built output first
rm -rf ansible-build-data built

pip3 install --user --upgrade "antsibull==0.59.1"
pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
git clone https://github.com/ansible-community/ansible-build-data.git
mkdir -p built collection-cache
BUILD_DATA_DIR="ansible-build-data/${MAJOR}"
Expand Down
2 changes: 1 addition & 1 deletion tests/verify_package_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
SDIST_PATH = f"{PYPI_PATH}/source/a/ansible/ansible-{{version}}.tar.gz"

ANTSIBULL_BUILD = os.environ.get("ANTSIBULL_BUILD", "antsibull-build")
PLACEHOLDER_ANTSIBULL_VERSION = "0.59.1"
PLACEHOLDER_ANTSIBULL_VERSION = "(ANTSIBULL_VERSION)"


@dataclasses.dataclass
Expand Down

0 comments on commit 14eb5cd

Please sign in to comment.