Переглянути джерело

meta: fix URL generation in the release script

Antoine du Hamel 2 роки тому
батько
коміт
9acac67882
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      private/release/choose-semverness.js

+ 2 - 1
private/release/choose-semverness.js

@@ -4,6 +4,7 @@ import { createWriteStream, mkdirSync, readFileSync } from 'node:fs'
 import { spawnSync } from 'node:child_process'
 
 import prompts from 'prompts'
+import { TARGET_BRANCH } from './config.js'
 
 const ROOT = new  URL('../../', import.meta.url)
 const PACKAGES_FOLDER = new URL('./packages/', ROOT)
@@ -125,7 +126,7 @@ export default async function pickSemverness (
         `Here are the commits that landed on @uppy/robodog since previous release:\n\n${stdout}\n`,
       )
       console.log(
-        `Check the web UI at https://github.com/transloadit/uppy/tree/main/${encodeURI(
+        `Check the web UI at https://github.com/transloadit/uppy/tree/${TARGET_BRANCH}/${encodeURI(
           location,
         )}.`,
       )