Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(v9): point to correct dist-tag for outdated version notifications #1156

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bin/dev.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#!/usr/bin/env npx tsx

async function main() {
/**
* This is a v9-specific change to ensure that we're pointing to the
* correct npm release channel for version upgrade checks.
* Once we deprecate v9, we can remove this line.
*
* @see {@link https://github.com/oclif/plugin-warn-if-update-available/blob/75634b0cdb6a605b9ecb503576461e60ba9a37b1/README.md?plain=1#L136}
*/
process.env.RDME_NEW_VERSION_CHECK_TAG = 'release-v9';

const { execute } = await import('@oclif/core');
await execute({ development: true, dir: import.meta.url }).then(msg => {
if (msg && typeof msg === 'string') {
Expand Down
9 changes: 9 additions & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
import stringArgv from 'string-argv';

async function main() {
/**
* This is a v9-specific change to ensure that we're pointing to the
* correct npm release channel for version upgrade checks.
* Once we deprecate v9, we can remove this line.
*
* @see {@link https://github.com/oclif/plugin-warn-if-update-available/blob/75634b0cdb6a605b9ecb503576461e60ba9a37b1/README.md?plain=1#L136}
*/
process.env.RDME_NEW_VERSION_CHECK_TAG = 'release-v9';

const { execute } = await import('@oclif/core');
const opts = { dir: import.meta.url };
if (process.env.INPUT_RDME) {
Expand Down
Loading