Skip to content

Commit

Permalink
add VPL_MVB_DEV_VERSION to mvb envvars part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Nov 13, 2024
1 parent 9ea923b commit 2783851
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Added `VPL_MVB_DEV_VERSION` to `mvb` envvars
* Improved `get-tags` to prefer `VPL_MVB_DEV_VERSION` as the `dev` alias if available

## v1.1.0-beta.21 - [November 11, 2024](https://github.com/lando/vitepress-theme-default-plus/releases/tag/v1.1.0-beta.21)

4 changes: 3 additions & 1 deletion utils/get-tags.js
Original file line number Diff line number Diff line change
@@ -38,7 +38,9 @@ export default function async(
const aliases = {dev: 'HEAD', edge: 'HEAD', stable: 'HEAD'};

// get the dev alias
aliases.dev = getStdOut(`${devReleaseCmd.join(' ')} ${getBranch(cwd)} || ${devReleaseCmd.join(' ')}`, opts);
aliases.dev =
process?.env?.VPL_MVB_DEV_VERSION ??
getStdOut(`${devReleaseCmd.join(' ')} ${getBranch(cwd)} || ${devReleaseCmd.join(' ')}`, opts);

// if we have versions data we can reset them to actual tags
if (versions.length > 0) {

0 comments on commit 2783851

Please sign in to comment.