aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/monorepo-scripts/src/constants.ts1
-rw-r--r--packages/monorepo-scripts/src/utils/discord.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/constants.ts b/packages/monorepo-scripts/src/constants.ts
index 8f907ffef..c15bcabf4 100644
--- a/packages/monorepo-scripts/src/constants.ts
+++ b/packages/monorepo-scripts/src/constants.ts
@@ -6,5 +6,6 @@ export const constants = {
lernaExecutable: path.join('node_modules', '@0x-lerna-fork', 'lerna', 'cli.js'),
githubPersonalAccessToken: process.env.GITHUB_PERSONAL_ACCESS_TOKEN_0X_JS,
discordAlertWebhookUrl: process.env.DISCORD_GITHUB_RELEASE_WEBHOOK_URL,
+ releasesUrl: 'https://github.com/0xProject/0x-monorepo/releases',
dependenciesUpdatedMessage: 'Dependencies updated',
};
diff --git a/packages/monorepo-scripts/src/utils/discord.ts b/packages/monorepo-scripts/src/utils/discord.ts
index 2482a18f0..116b1b908 100644
--- a/packages/monorepo-scripts/src/utils/discord.ts
+++ b/packages/monorepo-scripts/src/utils/discord.ts
@@ -13,7 +13,7 @@ export const alertDiscord = async (releaseNotes: string): Promise<boolean> => {
utils.log('Alerting discord...');
const payload = {
- content: `New monorepo package released! View at https://github.com/0xProject/0x-monorepo/releases \n\n ${releaseNotes}`,
+ content: `New monorepo package released! View at ${constants.releasesUrl} \n\n ${releaseNotes}`,
};
await fetchAsync(webhookUrl, {
method: 'POST',