jsii-release 0.2.1009 → 0.2.1011
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/publib-pypi +14 -13
- package/package.json +5 -5
- package/package.json.bak +5 -5
package/bin/publib-pypi
CHANGED
|
@@ -36,13 +36,20 @@ if [ -z "${PYPI_TRUSTED_PUBLISHER:-}" ]; then
|
|
|
36
36
|
}
|
|
37
37
|
fi
|
|
38
38
|
|
|
39
|
+
# Basic upload command options
|
|
40
|
+
upload_opts="--verbose --skip-existing"
|
|
41
|
+
|
|
39
42
|
# Install required packages
|
|
40
43
|
packages="twine"
|
|
41
44
|
if [ -n "${PYPI_TRUSTED_PUBLISHER:-}" ]; then
|
|
42
45
|
packages="$packages id"
|
|
43
|
-
|
|
44
|
-
if [ -z "${PYPI_DISABLE_ATTESTATIONS:-}" ]; then
|
|
45
|
-
|
|
46
|
+
|
|
47
|
+
if [ -z "${PYPI_DISABLE_ATTESTATIONS:-}" ]; then
|
|
48
|
+
# add attestations package
|
|
49
|
+
packages="$packages pypi-attestations"
|
|
50
|
+
# add attestations opt to upload command
|
|
51
|
+
upload_opts="$upload_opts --attestations"
|
|
52
|
+
fi
|
|
46
53
|
fi
|
|
47
54
|
python3 -m pip install --user --upgrade $packages
|
|
48
55
|
|
|
@@ -65,17 +72,11 @@ if [ -n "${PYPI_TRUSTED_PUBLISHER:-}" ]; then
|
|
|
65
72
|
|
|
66
73
|
export TWINE_USERNAME="__token__"
|
|
67
74
|
export TWINE_PASSWORD="$api_token"
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
if [ -z "${PYPI_DISABLE_ATTESTATIONS:-}" ]; then
|
|
71
|
-
echo "Signing packages with pypi-attestations"
|
|
72
|
-
python3 -m pypi_attestations sign *
|
|
73
|
-
fi
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
if [ -z "${PYPI_DISABLE_ATTESTATIONS:-}" ]; then
|
|
77
|
+
echo "Signing packages with pypi-attestations"
|
|
78
|
+
python3 -m pypi_attestations sign *
|
|
79
|
+
fi
|
|
79
80
|
fi
|
|
80
81
|
|
|
81
82
|
echo "Uploading packages to PyPI"
|
package/package.json
CHANGED
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
"typescript": "~5.7"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@aws-sdk/client-codeartifact": "^3.
|
|
79
|
-
"@aws-sdk/credential-providers": "^3.
|
|
80
|
-
"@aws-sdk/types": "^3.
|
|
78
|
+
"@aws-sdk/client-codeartifact": "^3.864.0",
|
|
79
|
+
"@aws-sdk/credential-providers": "^3.864.0",
|
|
80
|
+
"@aws-sdk/types": "^3.862.0",
|
|
81
81
|
"@types/fs-extra": "^8.0.0",
|
|
82
82
|
"fs-extra": "^8.0.0",
|
|
83
83
|
"glob": "10.0.0",
|
|
84
84
|
"p-queue": "6",
|
|
85
85
|
"shlex": "^2.1.2",
|
|
86
86
|
"yargs": "^17",
|
|
87
|
-
"zx": "^8.
|
|
87
|
+
"zx": "^8.8.0"
|
|
88
88
|
},
|
|
89
89
|
"main": "lib/index.js",
|
|
90
90
|
"license": "Apache-2.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "0.2.
|
|
95
|
+
"version": "0.2.1011",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|
package/package.json.bak
CHANGED
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
"typescript": "~5.7"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@aws-sdk/client-codeartifact": "^3.
|
|
79
|
-
"@aws-sdk/credential-providers": "^3.
|
|
80
|
-
"@aws-sdk/types": "^3.
|
|
78
|
+
"@aws-sdk/client-codeartifact": "^3.864.0",
|
|
79
|
+
"@aws-sdk/credential-providers": "^3.864.0",
|
|
80
|
+
"@aws-sdk/types": "^3.862.0",
|
|
81
81
|
"@types/fs-extra": "^8.0.0",
|
|
82
82
|
"fs-extra": "^8.0.0",
|
|
83
83
|
"glob": "10.0.0",
|
|
84
84
|
"p-queue": "6",
|
|
85
85
|
"shlex": "^2.1.2",
|
|
86
86
|
"yargs": "^17",
|
|
87
|
-
"zx": "^8.
|
|
87
|
+
"zx": "^8.8.0"
|
|
88
88
|
},
|
|
89
89
|
"main": "lib/index.js",
|
|
90
90
|
"license": "Apache-2.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "0.2.
|
|
95
|
+
"version": "0.2.1011",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|