repokeeper 0.4.4 → 0.4.5

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.
@@ -173,8 +173,9 @@ export const githubPlatform = {
173
173
  ...(release.versionFile ? { "version-file": release.versionFile } : {}),
174
174
  // Without it a pom at a release version first gets a pull request that only bumps to -SNAPSHOT
175
175
  ...(release.type === "maven" ? { "skip-snapshot": true } : {}),
176
- // release-please makes a repository's first release 1.0.0 unless told otherwise
177
- ...(seed === "0.0.0" ? { "initial-version": "0.1.0" } : {}),
176
+ // release-please makes a repository's first release 1.0.0 unless told otherwise; a release tag means
177
+ // there was one, even when a version file release-please never bumps still reads 0.0.0
178
+ ...(seed === "0.0.0" && !ctx.repo.releasedVersion ? { "initial-version": "0.1.0" } : {}),
178
179
  },
179
180
  },
180
181
  }),
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { readFileSync } from "node:fs";
2
2
  export const PACKAGE_VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
3
3
  /** The standard this build of repokeeper applies. Bump it whenever generated output changes. */
4
- export const STANDARD_VERSION = "1.4.0";
4
+ export const STANDARD_VERSION = "1.4.1";
5
5
  export const TOOL_VERSIONS = {
6
6
  lefthook: "2.1.14",
7
7
  commitlintCli: "21.2.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repokeeper",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Keep every repository on one maintained standard: commits, git hooks, CI, releases, dependency updates and repo settings.",
5
5
  "type": "module",
6
6
  "bin": {