We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e40011 commit d6b5c0eCopy full SHA for d6b5c0e
1 file changed
justfile
@@ -98,7 +98,11 @@ test-live: _test-integration-live _test-aws
98
99
# Test against github:staticweb-io/wordpress-flake#prerelease
100
test-wordpress-prerelease:
101
- @echo "Testing WordPress prerelease version" "$(nix build github:staticweb-io/wordpress-flake#prerelease --print-out-paths | sed 's/^[^-]*-[^-]*-//')"
+ #!/usr/bin/env bash
102
+ set -euo pipefail
103
+ rev=$(nix flake metadata ./dev --json 2>/dev/null | jq -r '.locks.nodes["wordpress-flake"].locked.rev')
104
+ version=$(nix eval "github:staticweb-io/wordpress-flake/$rev#prerelease.version" --raw 2>/dev/null)
105
+ echo "Testing WordPress prerelease version $version"
106
WORDPRESS_PACKAGE=prerelease nix flake check --impure ./dev
107
108
_update-composer-deps: && update-hashes
0 commit comments