Skip to content

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) (opensearch-project#2986)

* 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]>
(cherry picked from commit 3f576df)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Miki <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 85b69e9 commit c292a9a
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 @@ -69,7 +69,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 c292a9a

Please sign in to comment.