Skip to content

Commit

Permalink
fix: not open add changeset url on specific environment (#137)
Browse files Browse the repository at this point in the history
Co-authored-by: JounQin <[email protected]>
  • Loading branch information
angleshe and JounQin authored Nov 17, 2023
1 parent be50e4a commit 955c958
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/green-ducks-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"changesets-gitlab": patch
---

fix: not open add changeset url on specific environment
2 changes: 1 addition & 1 deletion src/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const comment = async () => {
}),
] as const)

const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/new/${mrBranch}?file_name=.changeset/${humanId(
const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/-/new/${mrBranch}?file_name=.changeset/${humanId(
{
separator: '-',
capitalize: false,
Expand Down

0 comments on commit 955c958

Please sign in to comment.