Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
[Windows] Make yarn pkg-version work across platforms (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#2963)

* Makes `yarn pkg-version` work across platforms

Signed-off-by: Miki <[email protected]>

* Makes `yarn pkg-version` work across platforms

Signed-off-by: Miki <[email protected]>

Signed-off-by: Miki <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
  • Loading branch information
AMoo-Miki authored and sikhote committed Apr 24, 2023
1 parent 058d08f commit 9501cd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions dev-tools/get-version.sh

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"docs:acceptApiChanges": "node --max-old-space-size=6144 scripts/check_published_api_changes.js --accept",
"osd:bootstrap": "node scripts/build_ts_refs && node scripts/register_git_hook",
"spec_to_console": "node scripts/spec_to_console",
"pkg-version": "./dev-tools/get-version.sh"
"pkg-version": "node -e \"console.log(require('./package.json').version)\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9501cd6

Please sign in to comment.