|
1 | 1 | #!/usr/bin/env python3 |
2 | | -"""Publish only checked numeric CLI0.6.18 bytes from an exact successful main run. |
| 2 | +"""Publish only checked numeric CLI0.6.19 bytes from an exact successful main run. |
3 | 3 |
|
4 | 4 | Default --plan has no network activity. Explicit --execute requires normal |
5 | 5 | protected/signed merge, exact required checks, complete security/repro gate, |
|
17 | 17 | import tempfile |
18 | 18 | from urllib.request import Request, urlopen |
19 | 19 |
|
20 | | -REPO, VERSION, TAG = 'PastureStack/cli', '0.6.18', 'v0.6.18' |
| 20 | +REPO, VERSION, TAG = 'PastureStack/cli', '0.6.19', 'v0.6.19' |
21 | 21 |
|
22 | 22 |
|
23 | 23 | def need(ok, code): |
@@ -127,7 +127,7 @@ def main(): |
127 | 127 | not command('git', '-C', str(root), 'status', '--porcelain').stdout, 'CLEAN_EXACT_SOURCE_CHECKOUT') |
128 | 128 | tree, merged_pr, workflow = checked_source(source, args.run_id) |
129 | 129 | need(not api('git/matching-refs/tags/' + TAG), 'IMMUTABLE_TAG_ALREADY_EXISTS') |
130 | | - with tempfile.TemporaryDirectory(prefix='pasturestack-cli018-release-') as temporary: |
| 130 | + with tempfile.TemporaryDirectory(prefix='pasturestack-cli019-release-') as temporary: |
131 | 131 | staging = Path(temporary) |
132 | 132 | candidate, evidence, assets = [staging / name for name in ('candidate', 'evidence', 'assets')] |
133 | 133 | for directory in (candidate, evidence, assets): directory.mkdir() |
@@ -157,7 +157,7 @@ def main(): |
157 | 157 | need(original.is_file(), 'SERVER_PLATFORM_ASSET_REQUIRED') |
158 | 158 | for name in ('security-summary.json', 'source.cdx.json', 'product.cdx.json', 'runtime.cdx.json', |
159 | 159 | 'source-security.json', 'product-security.json', 'dapper-image-raw.json', 'runtime-image-security.json', |
160 | | - 'dapper-dpkg.tsv', 'runtime-dpkg.tsv', 'product-go-version.txt', 'source-locks.sha256', |
| 160 | + 'dapper-dpkg.tsv', 'runtime-dpkg.tsv', 'product-go-version.txt', 'docker-cli-go-version.txt', 'source-locks.sha256', |
161 | 161 | 'vendor-pending.json', 'dapper.openvex.json', 'cli018-review-evidence.json'): |
162 | 162 | shutil.copyfile(unique(evidence, name), assets / ('cli-' + name)) |
163 | 163 | binary_archive = assets / ('pasturestack-cli-linux-amd64-' + VERSION + '.tar.gz') |
|
0 commit comments