mirror of
https://github.com/fluencelabs/fluence-network-environment
synced 2024-12-11 03:20:20 +00:00
jq -r
This commit is contained in:
parent
516e38797b
commit
ef2e0e9ac3
2
.github/workflows/publish_release.yml
vendored
2
.github/workflows/publish_release.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
set -x
|
||||
yarn global add semver
|
||||
PATH="$(yarn global bin):$PATH"
|
||||
LOCAL_VERSION="$(cat package.json | jq .version)"
|
||||
LOCAL_VERSION="$(cat package.json | jq -r .version)"
|
||||
PKG_NAME="$(cat package.json | jq .name)"
|
||||
NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)"
|
||||
MAX_VERSION="$(semver "$LOCAL_VERSION" "$NPM_VERSION" "0.0.0" | tail -n1)"
|
||||
|
Loading…
Reference in New Issue
Block a user