Skip to content

Commit ecd199e

Browse files
committed
[tmp] dry run
Signed-off-by: Ajeet D'Souza <98ajeet@gmail.com>
1 parent 745841c commit ecd199e

6 files changed

Lines changed: 9 additions & 12 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ name: Publish Package
66

77
on:
88
push:
9-
tags:
10-
- "v*"
119

1210
permissions:
1311
id-token: write # Required for OIDC, see https://docs.npmjs.com/trusted-publishers

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "protovalidate-example",
3-
"version": "1.2.0",
3+
"version": "0.100.0",
44
"private": true,
55
"license": "Apache-2.0",
66
"scripts": {
@@ -15,7 +15,7 @@
1515
"type": "module",
1616
"dependencies": {
1717
"@bufbuild/protobuf": "^2.11.0",
18-
"@bufbuild/protovalidate": "^1.2.0"
18+
"@bufbuild/protovalidate": "^0.100.0"
1919
},
2020
"devDependencies": {
2121
"@bufbuild/buf": "^1.62.1",

packages/protovalidate-testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"sideEffects": false,
1616
"devDependencies": {
1717
"@bufbuild/protobuf": "^2.11.0",
18-
"@bufbuild/protovalidate": "^1.2.0",
18+
"@bufbuild/protovalidate": "^0.100.0",
1919
"upstream": "*"
2020
}
2121
}

packages/protovalidate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bufbuild/protovalidate",
3-
"version": "1.2.0",
3+
"version": "0.100.0",
44
"description": "Protocol Buffer Validation for ECMAScript",
55
"keywords": [
66
"javascript",

scripts/publish.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ const packages = discoverPackages();
2929
validatePackages(packages);
3030

3131
const version = packages[0].version;
32-
gitCheckReleaseTag(version);
3332
npmPublish(version);
3433

3534
/**
3635
* @param {string} version
3736
*/
3837
function npmPublish(version) {
3938
const tag = determinePublishTag(version);
40-
execSync(`npm publish --tag ${tag} --workspaces`, {
39+
execSync(`npm publish --dry-run --tag ${tag} --workspaces`, {
4140
stdio: "inherit",
4241
});
4342
}

0 commit comments

Comments
 (0)