chore: migrate Regex Tools to LocalToolBox
This commit is contained in:
@@ -29,7 +29,7 @@ if (
|
||||
}
|
||||
|
||||
if (
|
||||
source.source?.repository !== "https://git.add-ideas.de/zemion/regex-tools" ||
|
||||
source.source?.repository !== "https://git.add-ideas.de/lotobo/regex-tools" ||
|
||||
source.source?.license !== "GPL-3.0-or-later"
|
||||
) {
|
||||
throw new Error("Manifest source identity is incomplete or inconsistent");
|
||||
|
||||
@@ -19,7 +19,7 @@ const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const zipEpoch = new Date(1980, 0, 1, 0, 0, 0);
|
||||
const gplVersion3TextSha256 =
|
||||
"fb981668c18a279e285fc4d83fba1e836cc84dd4daa73c9697d3cfd2d8aca6e0";
|
||||
const expectedApplicationVersion = "0.4.1";
|
||||
const expectedApplicationVersion = "0.4.2";
|
||||
const requiredRootFiles = [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
@@ -341,7 +341,7 @@ async function collectReleaseEntries() {
|
||||
packageJson.version !== expectedApplicationVersion ||
|
||||
packageJson.license !== "GPL-3.0-or-later" ||
|
||||
packageJson.repository?.url !==
|
||||
"git+https://git.add-ideas.de/zemion/regex-tools.git"
|
||||
"git+https://git.add-ideas.de/lotobo/regex-tools.git"
|
||||
) {
|
||||
throw new Error("Package version, licence or source identity drifted.");
|
||||
}
|
||||
@@ -354,7 +354,7 @@ async function collectReleaseEntries() {
|
||||
`- Release tag: \`v${expectedApplicationVersion}\``,
|
||||
) ||
|
||||
!sourceIdentity.includes(
|
||||
"- Repository: <https://git.add-ideas.de/zemion/regex-tools>",
|
||||
"- Repository: <https://git.add-ideas.de/lotobo/regex-tools>",
|
||||
)
|
||||
) {
|
||||
throw new Error("SOURCE.md release identity drifted.");
|
||||
@@ -565,7 +565,7 @@ async function collectReleaseEntries() {
|
||||
manifest.id !== "de.add-ideas.regex-tools" ||
|
||||
manifest.version !== packageJson.version ||
|
||||
manifest.source?.repository !==
|
||||
"https://git.add-ideas.de/zemion/regex-tools" ||
|
||||
"https://git.add-ideas.de/lotobo/regex-tools" ||
|
||||
manifest.source?.license !== "GPL-3.0-or-later"
|
||||
) {
|
||||
throw new Error("Packaged manifest identity is inconsistent.");
|
||||
|
||||
Reference in New Issue
Block a user