Closed bdougie closed 2 years ago
This sounds like a job for me :D .take
Thanks for taking this on! If you have not already, join the conversation in our Discord
Currently, we are building the static build output in: https://github.com/open-sauced/hot/blob/0e9b53137bb252e1c6c2ffca9ed9502cd552c399/.github/workflows/release.yml#L62-L105 and Netlify build is picking up deployment before the release action finishes.
After some thorough investigation, both should be fixed for this issue to be successfully closed. The PR for this might come in 2 parts! π
This might be permanently broken in the docker build, have to investigate if using the same plugin is possible
We can get the version out of package.json
with Vite, like we do in the PrimaryNav
- un-assigning and adding this like a GFI, what do you think @bdougie ?
@CMCSWEENE this is the code I would put at the top of the App.tsx here.
import { version } from "../../package.json";
console.log(`%c
βββββββ βββββββ ββββββββββββ βββ ββββββββ ββββββ βββ βββ ββββββββββββββββββββββ
ββββββββββββββββββββββββββββββ βββ βββββββββββββββββββ βββββββββββββββββββββββββββ
βββ βββββββββββββββββ ββββββ βββ βββββββββββββββββββ ββββββ ββββββ βββ βββ
βββ ββββββββββ ββββββ ββββββββββ βββββββββββββββββββ ββββββ ββββββ βββ βββ
ββββββββββββ βββββββββββ ββββββ βββββββββββ ββββββββββββββββββββββββββββββββββββ
βββββββ βββ βββββββββββ βββββ βββββββββββ βββ βββββββ ββββββββββββββββββββββ%c v${version()}`,
"color:#f6d82b",
"color:green;font-weight:bold");
.take
Thanks for taking this on! If you have not already, join the conversation in our Discord
Workflow
Set up:
Task 1: Include fetch version lib similar to open sauced.
appVersion.js
and copied over the version page Task 2: Add ascii art to the index page.
Syncing to the repo here now.
:tada: This issue has been resolved in version 2.25.0-beta.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 2.25.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 2.25.0-alpha.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Type of feature
π Feature
Current behavior
This app relies on semantic versioning and it would be ideal to let the user know what version they are using.
Suggested solution
In the flagship app we highlight the version in the console.
Additional context
No response
Code of Conduct