Skip to content

Commit

Permalink
Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrlambda committed Nov 22, 2023
1 parent 057cf1e commit 8119adc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 1.6.4

- Introduced CHANGELOG 🥳
- Fixed bug if git.initialBranch is master
Binary file modified dist/windows.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion executors.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function clone(struct, name) {
fs_1.default.mkdirSync(`${name}/.merrymake`, { recursive: true });
let orgFile = { name };
fs_1.default.writeFileSync(`${name}/.merrymake/conf.json`, JSON.stringify(orgFile));
yield (0, utils_1.execPromise)(`git clone -q "${config_1.GIT_HOST}/${name}/event-catalogue" event-catalogue`, name);
yield (0, utils_1.execPromise)(`git clone --branch main -q "${config_1.GIT_HOST}/${name}/event-catalogue" event-catalogue`, name);
fetch(".", name, struct);
}
catch (e) {
Expand Down Expand Up @@ -168,6 +168,7 @@ function createService(pth, group, name) {
else
throw e;
}
yield (0, utils_1.execPromise)(`git symbolic-ref HEAD refs/heads/main`, name);
(0, utils_1.addExitMessage)(`Use '${prompt_1.YELLOW}cd ${pth
.with(name)
.toString()
Expand Down
3 changes: 2 additions & 1 deletion executors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function clone(struct: any, name: string) {
let orgFile: OrgFile = { name };
fs.writeFileSync(`${name}/.merrymake/conf.json`, JSON.stringify(orgFile));
await execPromise(
`git clone -q "${GIT_HOST}/${name}/event-catalogue" event-catalogue`,
`git clone --branch main -q "${GIT_HOST}/${name}/event-catalogue" event-catalogue`,
name
);
fetch(".", name, struct);
Expand Down Expand Up @@ -175,6 +175,7 @@ export async function createService(pth: Path, group: string, name: string) {
) {
} else throw e;
}
await execPromise(`git symbolic-ref HEAD refs/heads/main`, name);
addExitMessage(
`Use '${YELLOW}cd ${pth
.with(name)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@merrymake/cli",
"version": "1.6.3",
"version": "1.6.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8119adc

Please sign in to comment.