Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
notifications:
description: "Version of the notifications. Only numbers"
required: true
premium:
description: "Version of the premium. Only numbers"
required: true

env:
CORE_BUMP_TYPE: ${{ github.event.inputs.core }}
Expand All @@ -28,6 +31,7 @@ env:
DAPPMANAGER_VERSION: ${{ github.event.inputs.dappmanager }}
WIFI_VERSION: ${{ github.event.inputs.wifi }}
NOTIFICATIONS_VERSION: ${{ github.event.inputs.notifications }}
PREMIUM_VERSION: ${{ github.event.inputs.premium }}

jobs:
release:
Expand All @@ -42,7 +46,8 @@ jobs:
- name: Check versions regex
run: |
[[ $BIND_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ $IPFS_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ $DAPPMANAGER_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && \
[[ $WIFI_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ $NOTIFICATIONS_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || { echo "versions introduced in wrong format"; exit 1; }
[[ $WIFI_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ $NOTIFICATIONS_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && [[ $PREMIUM_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || \
{ echo "versions introduced in wrong format"; exit 1; }

- uses: actions/checkout@v4

Expand All @@ -54,6 +59,7 @@ jobs:
sed -i -e "/dappmanager.dnp.dappnode.eth/s/[0-9]*\.[0-9]*\.[0-9]*/"${DAPPMANAGER_VERSION}"/" dappnode_package.json
sed -i -e "/wifi.dnp.dappnode.eth/s/[0-9]*\.[0-9]*\.[0-9]*/"${WIFI_VERSION}"/" dappnode_package.json
sed -i -e "/notifications.dnp.dappnode.eth/s/[0-9]*\.[0-9]*\.[0-9]*/"${NOTIFICATIONS_VERSION}"/" dappnode_package.json
sed -i -e "/premium.dnp.dappnode.eth/s/[0-9]*\.[0-9]*\.[0-9]*/"${PREMIUM_VERSION}"/" dappnode_package.json
cat dappnode_package.json

- name: Setup node
Expand Down
7 changes: 4 additions & 3 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "core.dnp.dappnode.eth",
"version": "0.3.8",
"version": "0.3.9",
"description": "DAppNode package responsible for managing the core packages",
"type": "dncore",
"architectures": ["linux/amd64", "linux/arm64"],
Expand All @@ -23,9 +23,10 @@
"dependencies": {
"bind.dnp.dappnode.eth": "0.2.12",
"ipfs.dnp.dappnode.eth": "0.2.26",
"dappmanager.dnp.dappnode.eth": "0.2.110",
"dappmanager.dnp.dappnode.eth": "0.2.111",
"wifi.dnp.dappnode.eth": "0.2.9",
"notifications.dnp.dappnode.eth": "0.1.5"
"notifications.dnp.dappnode.eth": "0.1.6",
"premium.dnp.dappnode.eth": "0.1.0"
},
"optionalDependencies": {
"wireguard.dnp.dappnode.eth": "0.1.3",
Expand Down