From 0c727fa3bfbbe5873616179099d4315ecc83e797 Mon Sep 17 00:00:00 2001 From: ausias-armesto Date: Mon, 10 Jun 2024 12:50:56 +0200 Subject: [PATCH 1/3] Update version 2.1.1 --- .github/workflows/main.yml | 19 +++++++++++++++++-- docker-compose.yml | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ce35a1..7cb2519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,10 +22,25 @@ jobs: steps: - uses: actions/checkout@v2 - name: Publish + id: publish run: | - npm install - npx @dappnode/dappnodesdk publish patch --dappnode_team_preset + npx @dappnode/dappnodesdk publish patch --dappnode_team_preset | tee /tmp/publish.log + ipfs_hash=$(grep -oP 'Release hash : \K/ipfs/\w+' /tmp/publish.log) + echo "ipfs_hash=$ipfs_hash" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEVELOPER_ADDRESS: "0x7305356ad936A06c4ea5DF45AD5E5C3ff9Db818E" + - name: Send message to Zulip + uses: zulip/zulip-action@v1 + with: + api-key: ${{ secrets.ZULIP_API_KEY }} + email: "github@hoprnet.org" + organization-url: "https://hopr.zulipchat.com" + type: "stream" + to: "Releases" + topic: "main" + content: | + A new hoprd dAppNode package version is available. + - IPFS Hash: ${{ steps.publish.outputs.ipfs_hash }} + Access to your dAppNode and check for the updates \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index d1f0ab2..0a6148c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: context: . args: UPSTREAM_VERSION: >- - 2.1.0@sha256:28f5db3a37275edecb3b4d52f2d254832bf3346d9464a538c419575a40d8b744 + 2.1.1@sha256:76fd5c58ccef5936e137e4990a7381ef27b25dc35bc4944c3079300951197cda ports: - "3001:3001/tcp" - "9091:9091/tcp" From 9bba8fc48d0dfaf3c893760e9e4be3ec395e1b80 Mon Sep 17 00:00:00 2001 From: ausias-armesto Date: Mon, 10 Jun 2024 12:57:07 +0200 Subject: [PATCH 2/3] Changed --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7cb2519..dec2967 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,10 +32,10 @@ jobs: DEVELOPER_ADDRESS: "0x7305356ad936A06c4ea5DF45AD5E5C3ff9Db818E" - name: Send message to Zulip - uses: zulip/zulip-action@v1 + uses: zulip/github-actions-zulip/send-message@v1 with: api-key: ${{ secrets.ZULIP_API_KEY }} - email: "github@hoprnet.org" + email: ${{ secrets.ZULIP_EMAIL }} organization-url: "https://hopr.zulipchat.com" type: "stream" to: "Releases" From 8b70d5d9d39013ac88323393e69a8a84a19ce27f Mon Sep 17 00:00:00 2001 From: ausias-armesto Date: Mon, 10 Jun 2024 13:45:42 +0200 Subject: [PATCH 3/3] adding log --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dec2967..c1c3126 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,7 @@ jobs: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset | tee /tmp/publish.log ipfs_hash=$(grep -oP 'Release hash : \K/ipfs/\w+' /tmp/publish.log) echo "ipfs_hash=$ipfs_hash" >> $GITHUB_OUTPUT + echo "ipfs_hash=$ipfs_hash" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEVELOPER_ADDRESS: "0x7305356ad936A06c4ea5DF45AD5E5C3ff9Db818E"