You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$LOCAL_TASKS_VERSION" != "$REMOTE_TASKS_VERSION" ]; then
63
-
echo "Error: The local @huggingface/tasks package version ($LOCAL_TASKS_VERSION) differs from the remote version ($REMOTE_TASKS_VERSION). Release halted."
if [ "$LOCAL_CHECKSUM" != "$REMOTE_CHECKSUM" ]; then
87
-
echo "Checksum Verification Failed: The local @huggingface/tasks package differs from the remote version. Release halted. Local Checksum: $LOCAL_CHECKSUM, Remote Checksum: $REMOTE_CHECKSUM"
88
-
exit 1
89
-
fi
90
-
echo "Checksum Verification Successful: The local and remote @huggingface/tasks packages are consistent. Proceeding with the @huggingface/widgets package release. Local Checksum: $LOCAL_CHECKSUM, Remote Checksum: $REMOTE_CHECKSUM."
91
-
working-directory: packages/tasks
56
+
- name: "Check Deps are published before publishing this package"
57
+
run: pnpm -w check-deps tasks
92
58
93
59
- run: pnpm publish --no-git-checks .
94
60
env:
@@ -99,10 +65,12 @@ jobs:
99
65
with:
100
66
node-version: "20"
101
67
registry-url: "https://npm.pkg.github.com"
102
-
- run: pnpm publish --no-git-checks .
103
-
env:
104
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
+
# Disable for now, until github supports PATs for writing github packages (https://github.com/github/roadmap/issues/558)
if [ "$LOCAL_TASKS_VERSION" != "$REMOTE_TASKS_VERSION" ]; then
63
-
echo "Error: The local @huggingface/tasks package version ($LOCAL_TASKS_VERSION) differs from the remote version ($REMOTE_TASKS_VERSION). Release halted."
if [ "$LOCAL_CHECKSUM" != "$REMOTE_CHECKSUM" ]; then
87
-
echo "Checksum Verification Failed: The local @huggingface/tasks package differs from the remote version. Release halted. Local Checksum: $LOCAL_CHECKSUM, Remote Checksum: $REMOTE_CHECKSUM"
88
-
exit 1
89
-
fi
90
-
echo "Checksum Verification Successful: The local and remote @huggingface/tasks packages are consistent. Proceeding with the @huggingface/widgets package release. Local Checksum: $LOCAL_CHECKSUM, Remote Checksum: $REMOTE_CHECKSUM."
91
-
working-directory: packages/tasks
56
+
- name: "Check Deps are published before publishing this package"
57
+
run: pnpm -w check-deps tasks
92
58
93
59
- run: pnpm publish --no-git-checks .
94
60
env:
@@ -99,6 +65,7 @@ jobs:
99
65
with:
100
66
node-version: "20"
101
67
registry-url: "https://npm.pkg.github.com"
102
-
- run: pnpm publish --no-git-checks .
103
-
env:
104
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
+
# Disable for now, until github supports PATs for writing github packages (https://github.com/github/roadmap/issues/558)
0 commit comments