Skip to content

Conversation

@levalleux-ludo
Copy link
Member

@levalleux-ludo levalleux-ludo commented Nov 6, 2025

Initially, when deployed to Fleek using a GH pipeline in staging and production, we could retrieve the release version from GH in the pipeline and set the appropriate build env vars.
Now, we have Cloudflare task which are building and deploying on their own, so no direct way to get the release version only known in Github and git tags (the version is currently NOT written in the package.json file).
The easiest way to get the version in the build context is to call git describe command in the repo and set the env var from its result before building.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 6, 2025

Deploying interface with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7f4c2f5
Status: ✅  Deploy successful!
Preview URL: https://867d1e5b.interface-a9d.pages.dev
Branch Preview URL: https://set-version-from-git.interface-a9d.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying boson-dapp-staging with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86a54ad
Status: ✅  Deploy successful!
Preview URL: https://db86b374.boson-dapp-staging.pages.dev
Branch Preview URL: https://set-version-from-git.boson-dapp-staging.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying boson-dr-center-staging with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86a54ad
Status: ✅  Deploy successful!
Preview URL: https://9b0f34da.boson-dr-center-staging.pages.dev
Branch Preview URL: https://set-version-from-git.boson-dr-center-staging.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying boson-dapp with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86a54ad
Status: ✅  Deploy successful!
Preview URL: https://ba4a915a.boson-dapp.pages.dev
Branch Preview URL: https://set-version-from-git.boson-dapp.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying boson-dr-center with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86a54ad
Status: ✅  Deploy successful!
Preview URL: https://c71691d8.boson-dr-center.pages.dev
Branch Preview URL: https://set-version-from-git.boson-dr-center.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants