isaacscript 3.18.2 → 3.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/git.js +2 -2
  2. package/package.json +1 -1
package/dist/git.js CHANGED
@@ -108,14 +108,14 @@ export function initGitRepository(projectPath, gitRemoteURL, verbose) {
108
108
  if (gitRemoteURL === undefined) {
109
109
  return;
110
110
  }
111
- execShellString("git init --initial-branch=main", verbose, false, projectPath);
111
+ execShellString("git init --initial-branch main", verbose, false, projectPath);
112
112
  execShell("git", ["remote", "add", "origin", gitRemoteURL], verbose, false, projectPath);
113
113
  if (isGitNameAndEmailConfigured(verbose)) {
114
114
  execShellString("git add --all", verbose, false, projectPath);
115
115
  const isaacScriptCLIVersion = getPackageJSONVersion(REPO_ROOT);
116
116
  const commitMessage = `chore: add files from ${PROJECT_NAME} ${isaacScriptCLIVersion} template`;
117
117
  execShell("git", ["commit", "--message", commitMessage], verbose, false, projectPath);
118
- execShellString("git push", verbose, false, projectPath);
118
+ execShellString("git push --set-upstream origin main", verbose, false, projectPath);
119
119
  }
120
120
  }
121
121
  function isGitNameAndEmailConfigured(verbose) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "3.18.2",
3
+ "version": "3.18.3",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",