From 5ab0056dafae6d4c7144a60435e901f194c4f616 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Mon, 22 Jan 2024 14:07:38 +0100 Subject: [PATCH] chore: make reev frontend npm-instabllable (#401) --- .github/workflows/release-please.yml | 8 +++++--- backend/app/__init__.py | 1 + backend/app/_version.py | 1 + frontend/package.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 backend/app/_version.py diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1b9ebe52..dfaef5cb 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,11 +18,13 @@ jobs: steps: - name: Create GitHub release id: release - uses: GoogleCloudPlatform/release-please-action@v3 + uses: GoogleCloudPlatform/release-please-action@v4 with: - release-type: python - package-name: reev token: ${{ secrets.BOT_TOKEN }} + release-type: node + extra_files: | + backend/app/_version.py + frontend/package.json Container-Release: needs: release-please diff --git a/backend/app/__init__.py b/backend/app/__init__.py index e69de29b..8dee4bf8 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -0,0 +1 @@ +from ._version import __version__ diff --git a/backend/app/_version.py b/backend/app/_version.py new file mode 100644 index 00000000..6a9beea8 --- /dev/null +++ b/backend/app/_version.py @@ -0,0 +1 @@ +__version__ = "0.4.0" diff --git a/frontend/package.json b/frontend/package.json index 6777cefc..22e18b10 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "reev-frontend", - "version": "0.0.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "vite --port 8081",