aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-20 03:39:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-20 03:40:50 +0800
commit3883315447a1681848b19aba1719d8015c7df693 (patch)
tree8a337b4c9664655299b5ced483d64aa53da18e24 /packages/monorepo-scripts
parent7679e07957cdb5836fefb689155bf563a97a43c2 (diff)
downloaddexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar.gz
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar.bz2
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar.lz
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar.xz
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.tar.zst
dexon-0x-contracts-3883315447a1681848b19aba1719d8015c7df693.zip
Make PR numbers links on Github releases
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/CHANGELOG.json5
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts2
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`;
});