Update npm publish scripts for 2.0.1

This commit is contained in:
jcamiel 2023-02-02 13:28:55 +01:00
parent ec1e0a1012
commit 00e9f9b700
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
5 changed files with 16 additions and 12 deletions

View File

@ -6,8 +6,13 @@ Hurl is [distributed on npm] as a thin wrapper around the native binary.
## Publish
To publish a new version `x.y.z`:
```
$ cp docs/manual/*.1 contrib/npm/hurl/docs/
$ python3 ./contrib/npm/check_publish.py x.y.z
$ npm publish --dry-run contrib/npm/hurl/
$ npm publish contrib/npm/hurl/
```

View File

@ -1,4 +1,4 @@
.TH hurl 1 "25 Jan 2023" "hurl 2.0.0" " Hurl Manual"
.TH hurl 1 "02 Feb 2023" "hurl 2.1.0" " Hurl Manual"
.SH NAME
hurl - run and test HTTP requests.
@ -70,7 +70,6 @@ A typical example occurs with CSRF tokens.
[Captures]
csrf_token: xpath "normalize-space(//meta[@name='_csrf_token']/@content)"
# Do the login !
POST https://example.org/login?user=toto&password=1234
X-CSRF-TOKEN: {{csrf_token}}
@ -138,7 +137,7 @@ See also \fI--key\fP.
.IP "--color "
Colorize Output.
Colorize debug output (the HTTP response output is not colorized).
.IP "--compressed "
@ -344,15 +343,15 @@ Environment variables can only be specified in lowercase.
Using an environment variable to set the proxy has the same effect as using the \fI-x, --proxy\fP option.
.IP "http_proxy [protocol://]<host>[:port]"
.IP "http_proxy [PROTOCOL://]<HOST>[:PORT]"
Sets the proxy server to use for HTTP.
.IP "https_proxy [protocol://]<host>[:port]"
.IP "https_proxy [PROTOCOL://]<HOST>[:PORT]"
Sets the proxy server to use for HTTPS.
.IP "all_proxy [protocol://]<host>[:port]"
.IP "all_proxy [PROTOCOL://]<HOST>[:PORT]"
Sets the proxy server to use if no protocol-specific proxy is set.

View File

@ -1,4 +1,4 @@
.TH hurl 1 "25 Jan 2023" "hurl 2.0.0" " Hurl Manual"
.TH hurl 1 "02 Feb 2023" "hurl 2.1.0" " Hurl Manual"
.SH NAME
hurlfmt - format Hurl files

View File

@ -1,6 +1,6 @@
{
"name": "@orangeopensource/hurl",
"version": "2.0.0",
"version": "2.0.1",
"description": "Run and Test HTTP Requests with plain text and curl",
"author": "Jean-Christophe Amiel <jeanchristophe.amiel@orange.com>",
"contributors": [

View File

@ -5,7 +5,7 @@
"rust_target": "win64",
"binary_name": "hurl.exe",
"archive_extension": ".zip",
"checksum": "5ea1b7405ef4a4376b1bd2217a8701dcd15b78d42c45e04b44f1828a4ce0035d"
"checksum": "bf428e88535e7f057cf1ad93b3d3b7c91a0690f3d04f9600f5923072f9f1c0c8"
},
{
"type": "Linux",
@ -13,7 +13,7 @@
"rust_target": "x86_64-linux",
"binary_name": "hurl",
"archive_extension": ".tar.gz",
"checksum": "68666d62016c7f3662340b7cf61853d2b053697b1e72711f5cad6517a9122419"
"checksum": "855bb623e14d971911cb8de7e8b8c1e77bf0139d10a95d592452047ac499cfa9"
},
{
"type": "Darwin",
@ -21,7 +21,7 @@
"rust_target": "x86_64-macos",
"binary_name": "hurl",
"archive_extension": ".tar.gz",
"checksum": "3cf5180dde9312465a341314161539342f7432dc4f367b06cec969ed386c8e92"
"checksum": "1362b123243bccd34f2fe44c30c74c7d563e119c3df4278d7a5e882bb6aedda4"
},
{
"type": "Darwin",
@ -29,6 +29,6 @@
"rust_target": "arm64-macos",
"binary_name": "hurl",
"archive_extension": ".tar.gz",
"checksum": "4e2196ac2201d2cbabfab45d77a309ece90e3bf05ed0ef5400786de4cfba3cb0"
"checksum": "c86d7127144f2260d6fb83a20e2e91541876539ca467bbbc61906f35e25ea0f3"
}
]