Skip to content

Commit

Permalink
JS Client: abbrev=0, 0.0.0 in package.json
Browse files Browse the repository at this point in the history
* abbrev=0 so we only get tag name
* track a non-sensical version in p.json to avoid:
  "npm ERR! Version not changed"
  ... in situations where the version is actually sync'd
  • Loading branch information
deobald committed Feb 2, 2024
1 parent 55ccaa5 commit 07abc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clients-javascript-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Set package.json version
run: npm version --no-git-tag-version $(git describe --always --dirty --tags)
run: npm version --no-git-tag-version $(git describe --always --dirty --tags --abbrev=0)

- name: Publish
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion clients/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"license": "MIT",
"homepage": "https://github.com/endatabas/endb",
"exports": "./endb.mjs",
"version": "0.1.0-alpha.5"
"version": "0.0.0"
}

0 comments on commit 07abc3d

Please sign in to comment.