Skip to content

Commit 7b1c9c7

Browse files
committed
fix: correct version format in jq command and npm publish step for cloudsync
1 parent 4534c87 commit 7b1c9c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
166166
jq \
167167
--arg name "@sqliteai/cloudsync-wasm" \
168-
--arg version "$(make sqlite_version)+cloudsync-$(make version)" \
168+
--arg version "$(make sqlite_version)-cloudsync-$(make version)" \
169169
--arg desc "$DESC" \
170170
--argjson keywords '["offsync","cloudsync","sqliteai"]' \
171171
--arg repo_url "git+https://github.com/sqliteai/sqlite-sync.git" \
@@ -255,8 +255,8 @@ jobs:
255255

256256
- name: wasm publish to npmjs
257257
#if: steps.tag.outputs.version != ''
258-
#use this version when the repo will become public run: npm publish --provenance --access public ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*+cloudsync-*.tgz
259-
run: npm publish --access public ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*+cloudsync-*.tgz
258+
#use this version when the repo will become public run: npm publish --provenance --access public ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*-cloudsync-*.tgz
259+
run: npm publish --access public ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*-cloudsync-*.tgz
260260
env:
261261
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
262262

0 commit comments

Comments
 (0)