Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5dd0981

Browse files
chore: cleanup
1 parent 3263f34 commit 5dd0981

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

‎.github/workflows/publish.reusable.yml‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,6 @@ jobs:
3434
RELEASE_TAG: ${{ inputs.release-tag }}
3535
PRERELEASE: ${{ inputs.is-prerelease }}
3636

37-
- name: Verify NPM TOKEN exists
38-
run: |
39-
if [ -z "${{ secrets.NPM_TOKEN }}" ]; then
40-
echo "Secret is not defined"
41-
exit 1
42-
else
43-
echo "Secret is defined"
44-
fi
45-
46-
- name: Print package.json
47-
run: |
48-
cat packages/@postgrestools/postgrestools/package.json
49-
50-
- name: Print package.json
51-
run: |
52-
cat packages/@postgrestools/postgrestools_aarch64-apple-darwin/package.json
53-
5437
- name: Publish npm packages as nightly
5538
if: inputs.is-prerelease == 'true'
5639
run: |
@@ -64,10 +47,7 @@ jobs:
6447
if: inputs.is-prerelease != 'true'
6548
run: |
6649
for package in packages/@postgrestools/*; do
67-
package_name=$(basename "$package")
68-
if [[ "$package_name" != "backend-jsonrpc" && "$package_name" != "postgrestools" ]]; then
69-
npm publish "$package" --tag latest --access public --provenance
70-
fi
50+
npm publish "$package" --tag latest --access public --provenance
7151
done
7252
env:
7353
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

‎packages/@postgrestools/postgrestools/scripts/generate-packages.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function copyBinaryToNativePackage(platform, arch, os) {
163163

164164
const ext = getBinaryExt(os);
165165
const manifestPath = resolve(packageRoot, "package.json");
166-
console.info(`Update manifest ${manifestPath} to ${JSON.stringify(manifest)}`);
166+
console.info(`Update manifest ${manifestPath}`);
167167
fs.writeFileSync(manifestPath, manifest);
168168

169169
// Copy the CLI binary

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /