diff --git a/.github/workflows/package-dev-frontend.yml b/.github/workflows/package-dev-frontend.yml index 41e7984dc..115eed958 100644 --- a/.github/workflows/package-dev-frontend.yml +++ b/.github/workflows/package-dev-frontend.yml @@ -14,20 +14,12 @@ jobs: contents: read packages: write - steps: + steps: - uses: actions/checkout@v2 name: Check out code - - uses: martinbeentjes/npm-get-version-action@main - name: get-npm-version - id: package-version - with: - path: packages/frontend - - uses: mr-smithers-excellent/docker-build-push@v5 name: Build and push Docker image - env: - REACT_APP_VERSION: ${{ steps.package-version.outputs.current-version}} with: image: $IMAGE_NAME tags: latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 707c5b0bb..527aa3a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +## [0.11.1] - 2022-08-24 + +Hotfix resolving an issue with building Docker images for production. + ## [0.11.0] - 2022-08-24 ### Added diff --git a/package.json b/package.json index b18248ab6..63effb5c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "praise", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "description": "Praise community contributions to build a culture of giving and gratitude.", "private": true, diff --git a/packages/api/package.json b/packages/api/package.json index 74f3df524..5693e376f 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "description": "The Praise REST API running on Node/Express, using MongoDB for storage.", "type": "commonjs", diff --git a/packages/discord-bot/package.json b/packages/discord-bot/package.json index 916999bb5..18148988b 100644 --- a/packages/discord-bot/package.json +++ b/packages/discord-bot/package.json @@ -1,6 +1,6 @@ { "name": "discord-bot", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "description": "The Praise Discord bot is the main way for users to interact with the Praise system.", "dependencies": { diff --git a/packages/frontend/.env.template b/packages/frontend/.env.template index fefc1e7d1..9b534f034 100644 --- a/packages/frontend/.env.template +++ b/packages/frontend/.env.template @@ -11,5 +11,3 @@ REACT_APP_SERVER_URL=https://localhost # Port number used when running frontend for development, outside of Docker PORT=3000 -# App version from package.json -REACT_APP_VERSION=$npm_package_version diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 4c329b813..438d84ed7 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "description": "The Praise dashboard built on React/Recoil/Tailwind CSS.", "private": true, diff --git a/packages/frontend/src/index.tsx b/packages/frontend/src/index.tsx index df6175cd7..185d4f714 100644 --- a/packages/frontend/src/index.tsx +++ b/packages/frontend/src/index.tsx @@ -31,7 +31,6 @@ const gnosisChain: Chain = { id: 100, name: 'Gnosis Chain', network: 'Gnosis Chain', - iconUrl: `${process.env.REACT_APP_SERVER_URL}/uploads/gnosischain_logo.png`, nativeCurrency: { decimals: 18, name: 'xDAI', diff --git a/packages/frontend/src/model/app.ts b/packages/frontend/src/model/app.ts index cf5225fc5..34a8a9127 100644 --- a/packages/frontend/src/model/app.ts +++ b/packages/frontend/src/model/app.ts @@ -32,7 +32,7 @@ interface PraiseAppVersion { export const usePraiseAppVersion = (): PraiseAppVersion => { const appVersion: PraiseAppVersion = { - current: process.env.REACT_APP_VERSION, + current: 'v0.11.1', //TODO: get this from package.json latest: undefined, newVersionAvailable: false, }; diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index cf35c30cd..1ea935f30 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "mongodb", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "description": "The Prasie data is stored in a MongoDb database." } diff --git a/packages/setup/package.json b/packages/setup/package.json index 2b545d5fe..14874e814 100644 --- a/packages/setup/package.json +++ b/packages/setup/package.json @@ -1,6 +1,6 @@ { "name": "setup", - "version": "0.11.0", + "version": "0.11.1", "license": "GPL-3.0-or-later", "type": "commonjs", "description": "Praise ENV setup scripts.",