diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-20 03:39:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-20 03:40:50 +0800 |
commit | 3883315447a1681848b19aba1719d8015c7df693 (patch) | |
tree | 8a337b4c9664655299b5ced483d64aa53da18e24 | |
parent | 7679e07957cdb5836fefb689155bf563a97a43c2 (diff) | |
download | dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar.gz dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar.bz2 dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar.lz dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar.xz dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.tar.zst dexon-sol-tools-3883315447a1681848b19aba1719d8015c7df693.zip |
Make PR numbers links on Github releases
-rw-r--r-- | packages/monorepo-scripts/CHANGELOG.json | 5 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/postpublish_utils.ts | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/CHANGELOG.json b/packages/monorepo-scripts/CHANGELOG.json index 8cf8c60c6..51d060e27 100644 --- a/packages/monorepo-scripts/CHANGELOG.json +++ b/packages/monorepo-scripts/CHANGELOG.json @@ -1,10 +1,13 @@ [ { - "version": "0.2.3", + "version": "1.0.0", "changes": [ { "note": "Fix git remote tag removal step & add an additional sanity assertion", "pr": 803 + }, + { + "note": "Make PR numbers links on Github releases" } ] }, diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index 85b32ed83..3ecb7b7c5 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -128,7 +128,7 @@ export const postpublishUtils = { _.each(latestLog.changes, change => { notes += `* ${change.note}`; if (change.pr) { - notes += ` (${change.pr})`; + notes += ` (#${change.pr})`; } notes += `\n`; }); |