Update for 1.1.0
This commit is contained in:
parent
ee03a9e97b
commit
3f9dc27869
@ -30,9 +30,9 @@
|
||||
"lerna": "^3.19.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@dxos/cli": "^1.0.1-beta.5",
|
||||
"@dxos/cli-app": "^1.0.1-beta.5",
|
||||
"@wirelineio/cli-wns": "^1.0.1-beta.5",
|
||||
"@dxos/cli": "^1.1.0-beta.0",
|
||||
"@dxos/cli-app": "^1.1.0-beta.0",
|
||||
"@dxos/cli-wns": "^1.1.0-beta.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-config-semistandard": "^15.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: dxos.network/console-moon
|
||||
displayName: Kubenet Console Client
|
||||
build: yarn dist
|
||||
version: 0.0.16
|
||||
version: 0.0.24
|
||||
package:
|
||||
/: Qme8aGPrvs6TzgeQGoDpGb46jpvg5pLb71Fg91YFBPgz5K
|
||||
/: QmbJ9VoYNKKhP3vaD13kA48RTcuAh7vuaXgTPTZ5Pv9pmo
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"name": "@dxos/console-app",
|
||||
"buildDate": "2020-08-20T22:12:45.569Z",
|
||||
"buildDate": "2020-08-27T18:07:33.394Z",
|
||||
"version": "1.0.0-moon.0"
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ set -euo pipefail
|
||||
for appdir in `find ./packages -name '*-app' -type d | grep -v node_modules`; do
|
||||
pushd $appdir
|
||||
|
||||
ORG="dxos.network"
|
||||
WNS_ORG="dxos"
|
||||
PKG_NAME=`cat package.json | jq -r '.name' | cut -d'/' -f2-`
|
||||
PKG_DESC=`cat package.json | jq -r '.description'`
|
||||
PKG_VERSION=`cat package.json | jq -r '.version'`
|
||||
@ -14,16 +14,15 @@ for appdir in `find ./packages -name '*-app' -type d | grep -v node_modules`; do
|
||||
PKG_DESC="$PKG_NAME"
|
||||
fi
|
||||
|
||||
WNS_NAME="$ORG/$PKG_NAME"
|
||||
WNS_VERSION=`yarn -s wire app query --name "$WNS_NAME" | jq -r '.[0].version'`
|
||||
WNS_NAME="$WNS_ORG/$PKG_NAME"
|
||||
WNS_VERSION=`yarn -s wire wns name resolve wrn://${WNS_ORG}/application/${PKG_NAME} | jq -r '.records[0].attributes.version'"`
|
||||
|
||||
if [ -z "$WNS_VERSION" ]; then
|
||||
WNS_VERSION="0.0.0"
|
||||
WNS_VERSION="0.0.1"
|
||||
fi
|
||||
|
||||
cat <<EOF > app.yml
|
||||
name: $WNS_NAME
|
||||
displayName: $PKG_DESC
|
||||
name: $PKG_NAME
|
||||
build: yarn dist
|
||||
version: $WNS_VERSION
|
||||
EOF
|
||||
@ -40,7 +39,7 @@ EOF
|
||||
else
|
||||
yarn -s wire app publish
|
||||
fi
|
||||
yarn -s wire app register
|
||||
yarn -s wire app register --name "wrn://${WNS_ORG}/application/${PKG_NAME}"
|
||||
|
||||
popd
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user