Merge pull request #396 from f-trycua/fix/sync-upstream-fixture
test: stabilize 1Password sync fixture
This commit is contained in:
1 file changed
+3
@@ -757,6 +757,9 @@ EOF
|
|||||||
mkdir -p "$one_root"
|
mkdir -p "$one_root"
|
||||||
cp -a "$BUILD_ROOT/pkgbuilds/1password" "$one_root/1password"
|
cp -a "$BUILD_ROOT/pkgbuilds/1password" "$one_root/1password"
|
||||||
one_dir="$one_root/1password"
|
one_dir="$one_root/1password"
|
||||||
|
# Keep the real recipe shape, but make the fixture's starting version stable.
|
||||||
|
# Otherwise a routine package update can outrun the mocked release below.
|
||||||
|
sed -i -e 's/^pkgver=.*/pkgver=8.12.34/' -e 's/^pkgrel=.*/pkgrel=2/' "$one_dir/PKGBUILD"
|
||||||
debian_fetch_packages() {
|
debian_fetch_packages() {
|
||||||
printf 'Package: 1password\nVersion: %s\n' "$one_version"
|
printf 'Package: 1password\nVersion: %s\n' "$one_version"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user