From 06f36e8ec0d89d4f936b3dc2867a3c91c0fe95b9 Mon Sep 17 00:00:00 2001 From: drita Date: Thu, 29 Feb 2024 14:23:40 +0300 Subject: [PATCH] chore: prep user-app for continuous release - Bump app version to 99.9.9 - Set minDHIS2Version to 2.41 - Update release github workflow action - Add App Hub ID to d2.config file --- .github/workflows/dhis2-verify-app.yml | 8 ++++---- d2.config.js | 3 ++- package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 5f268e4de..feb3792c6 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -125,21 +125,21 @@ jobs: with: token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 16 + cache: 'yarn' - uses: actions/download-artifact@v2 with: name: app-build # ensure that d2-app-scripts is available - - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile - uses: dhis2/action-semantic-release@master with: - publish-apphub: false + publish-apphub: true publish-github: true github-token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} apphub-token: ${{ secrets.DHIS2_BOT_APPHUB_TOKEN }} diff --git a/d2.config.js b/d2.config.js index bb32001ff..8fda1339c 100644 --- a/d2.config.js +++ b/d2.config.js @@ -1,4 +1,5 @@ const config = { + id: '1887e1f8-3b62-42a3-8383-975996e0870f', type: 'app', coreApp: true, title: 'User management', @@ -8,7 +9,7 @@ const config = { entryPoints: { app: './src/AppWrapper.js', }, - minDHIS2Version: '2.38', + minDHIS2Version: '2.41', } module.exports = config diff --git a/package.json b/package.json index 5a43e7642..f3b825e59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "user-app", - "version": "1.5.38", + "version": "99.9.9", "description": "DHIS2 User app", "license": "BSD-3-Clause", "private": true,