s/certbot-version/certbot-metadata/g

This commit is contained in:
Erica Portnoy 2020-07-16 14:29:05 -07:00
parent 067ea6b88e
commit 4a3f306259
2 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,7 @@ parts:
snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"`
build-environment:
- EXCLUDE_CERTBOT_DEPS: "True"
certbot-version:
certbot-metadata:
plugin: dump
source: .
stage: [setup.py, certbot-shared]
@ -32,7 +32,7 @@ slots:
- $SNAP/lib/python3.8/site-packages
plugs:
certbot-version:
certbot-metadata:
interface: content
content: version-1
content: metadata-1
target: $SNAP/certbot-shared

View file

@ -82,12 +82,12 @@ parts:
plugin: dump
source: .
stage: [certbot.wrapper]
shared-version:
shared-metadata:
plugin: dump
source: .
stage: [certbot-version/__init__.py]
stage: [certbot-metadata/__init__.py]
organize:
$SNAPCRAFT_PART_SRC/certbot/certbot/__init__.py: certbot-version/__init__.py
$SNAPCRAFT_PART_SRC/certbot/certbot/__init__.py: certbot-metadata/__init__.py
plugs:
plugin:
@ -96,7 +96,7 @@ plugs:
target: $SNAP/certbot-plugin
slots:
certbot-version:
certbot-metadata:
interface: content
content: version-1
read: [$SNAP/certbot-version]
content: metadata-1
read: [$SNAP/certbot-metadata]