Public Access
fix(version): preserve suffix on bump, simplify workflow version logic (#191)
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
version_bump.php now captures the existing suffix (e.g. -dev) from manifest.xml and re-applies it after incrementing the base version. This lets workflows read the version as-is instead of stripping and re-applying suffixes based on branch names. Simplified update-server.yml and pre-release.yml by removing the strip→map→re-apply suffix dance. Removed DISPLAY_VERSION and SUFFIX output variables — VERSION now carries the full suffixed string. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -79,29 +79,21 @@ jobs:
|
|||||||
STABILITY="${{ inputs.stability || 'development' }}"
|
STABILITY="${{ inputs.stability || 'development' }}"
|
||||||
|
|
||||||
case "$STABILITY" in
|
case "$STABILITY" in
|
||||||
development) SUFFIX="-dev"; TAG="development" ;;
|
development) TAG="development" ;;
|
||||||
alpha) SUFFIX="-alpha"; TAG="alpha" ;;
|
alpha) TAG="alpha" ;;
|
||||||
beta) SUFFIX="-beta"; TAG="beta" ;;
|
beta) TAG="beta" ;;
|
||||||
release-candidate) SUFFIX="-rc"; TAG="release-candidate" ;;
|
release-candidate) TAG="release-candidate" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Read current version (bump already handled by push workflow)
|
# Set stability suffix, bump preserves it, fix consistency
|
||||||
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null)
|
|
||||||
[ -z "$VERSION" ] && VERSION="00.00.01"
|
|
||||||
|
|
||||||
# Strip any existing suffix from version before applying stability
|
|
||||||
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
|
|
||||||
|
|
||||||
php ${MOKO_CLI}/version_set_platform.php \
|
php ${MOKO_CLI}/version_set_platform.php \
|
||||||
--path . --version "$VERSION" --branch "${{ github.ref_name }}" --stability "$STABILITY" 2>/dev/null || true
|
--path . --version "$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo '00.00.01')" \
|
||||||
|
--branch "${{ github.ref_name }}" --stability "$STABILITY" 2>/dev/null || true
|
||||||
# Verify version consistency across all files
|
|
||||||
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
||||||
|
|
||||||
# Update VERSION variable with suffix
|
# Read final version (includes suffix, e.g. 01.02.15-dev)
|
||||||
if [ -n "$SUFFIX" ]; then
|
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null)
|
||||||
VERSION="${VERSION}${SUFFIX}"
|
[ -z "$VERSION" ] && VERSION="00.00.01"
|
||||||
fi
|
|
||||||
|
|
||||||
# Commit version bump
|
# Commit version bump
|
||||||
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech"
|
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech"
|
||||||
@@ -126,12 +118,11 @@ jobs:
|
|||||||
|
|
||||||
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
|
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
|
||||||
echo "suffix=${SUFFIX}" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
||||||
echo "zip_name=${ZIP_NAME}" >> "$GITHUB_OUTPUT"
|
echo "zip_name=${ZIP_NAME}" >> "$GITHUB_OUTPUT"
|
||||||
echo "ext_element=${EXT_ELEMENT}" >> "$GITHUB_OUTPUT"
|
echo "ext_element=${EXT_ELEMENT}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
echo "=== Pre-Release: ${EXT_ELEMENT} ${VERSION}${SUFFIX} ==="
|
echo "=== Pre-Release: ${EXT_ELEMENT} ${VERSION} ==="
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: release
|
id: release
|
||||||
|
|||||||
@@ -109,14 +109,6 @@ jobs:
|
|||||||
git config --local user.name "gitea-actions[bot]"
|
git config --local user.name "gitea-actions[bot]"
|
||||||
git remote set-url origin "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
|
git remote set-url origin "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
|
||||||
|
|
||||||
# Auto-bump patch version
|
|
||||||
php ${MOKO_CLI}/version_bump.php --path . 2>/dev/null || true
|
|
||||||
|
|
||||||
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "0.0.0")
|
|
||||||
|
|
||||||
# Strip any existing suffix before applying stability
|
|
||||||
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
|
|
||||||
|
|
||||||
# Determine stability from branch or manual input
|
# Determine stability from branch or manual input
|
||||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||||
STABILITY="${{ inputs.stability }}"
|
STABILITY="${{ inputs.stability }}"
|
||||||
@@ -130,30 +122,28 @@ jobs:
|
|||||||
STABILITY="development"
|
STABILITY="development"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Version suffix per stability stream
|
# Gitea release tag per stability
|
||||||
case "$STABILITY" in
|
case "$STABILITY" in
|
||||||
development) SUFFIX="-dev"; TAG="development" ;;
|
development) TAG="development" ;;
|
||||||
alpha) SUFFIX="-alpha"; TAG="alpha" ;;
|
alpha) TAG="alpha" ;;
|
||||||
beta) SUFFIX="-beta"; TAG="beta" ;;
|
beta) TAG="beta" ;;
|
||||||
rc) SUFFIX="-rc"; TAG="release-candidate" ;;
|
rc) TAG="release-candidate" ;;
|
||||||
*) SUFFIX=""; TAG="stable" ;;
|
*) TAG="stable" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Propagate version with stability suffix to all manifest files
|
# Bump patch, set platform suffix, fix consistency — version_bump preserves suffix
|
||||||
php ${MOKO_CLI}/version_set_platform.php \
|
php ${MOKO_CLI}/version_set_platform.php \
|
||||||
--path . --version "$VERSION" --branch "$BRANCH" --stability "$STABILITY" 2>/dev/null || true
|
--path . --version "$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo '00.00.01')" \
|
||||||
|
--branch "$BRANCH" --stability "$STABILITY" 2>/dev/null || true
|
||||||
|
php ${MOKO_CLI}/version_bump.php --path . 2>/dev/null || true
|
||||||
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
||||||
|
|
||||||
# Re-read version (now includes suffix from version_set_platform)
|
# Read final version (includes suffix, e.g. 01.02.15-dev)
|
||||||
if [ -n "$SUFFIX" ]; then
|
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "00.00.01")
|
||||||
VERSION="${VERSION}${SUFFIX}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
|
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
|
||||||
echo "suffix=${SUFFIX}" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
||||||
echo "display_version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
# Commit version bump if changed
|
# Commit version bump if changed
|
||||||
git add -A
|
git add -A
|
||||||
@@ -303,7 +293,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VERSION="${{ steps.meta.outputs.version }}"
|
VERSION="${{ steps.meta.outputs.version }}"
|
||||||
STABILITY="${{ steps.meta.outputs.stability }}"
|
STABILITY="${{ steps.meta.outputs.stability }}"
|
||||||
DISPLAY="${{ steps.meta.outputs.display_version }}"
|
DISPLAY="${VERSION}"
|
||||||
echo "## Update Server" >> $GITHUB_STEP_SUMMARY
|
echo "## Update Server" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
|
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class UpdatesXmlBuildCli extends CliFramework
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Strip any existing stability suffix from version
|
// Strip suffix — stability is applied via --stability parameter
|
||||||
$version = preg_replace('/-(dev|alpha|beta|rc)$/', '', $version);
|
$version = preg_replace('/-(dev|alpha|beta|rc)$/', '', $version);
|
||||||
|
|
||||||
$root = realpath($path) ?: $path;
|
$root = realpath($path) ?: $path;
|
||||||
|
|||||||
@@ -41,12 +41,14 @@ class VersionBumpCli extends CliFramework
|
|||||||
}
|
}
|
||||||
$root = realpath($path) ?: $path;
|
$root = realpath($path) ?: $path;
|
||||||
$mokoVersion = null;
|
$mokoVersion = null;
|
||||||
|
$existingSuffix = '';
|
||||||
$mokoManifest = "{$root}/.mokogitea/manifest.xml";
|
$mokoManifest = "{$root}/.mokogitea/manifest.xml";
|
||||||
$mokoContent = '';
|
$mokoContent = '';
|
||||||
if (file_exists($mokoManifest)) {
|
if (file_exists($mokoManifest)) {
|
||||||
$mokoContent = file_get_contents($mokoManifest);
|
$mokoContent = file_get_contents($mokoManifest);
|
||||||
if (preg_match('#<version>(\d{2}\.\d{2}\.\d{2})(?:-((?:(?:dev|alpha|beta|rc)-?)+))?</version>#', $mokoContent, $m)) {
|
if (preg_match('#<version>(\d{2}\.\d{2}\.\d{2})((?:-(?:dev|alpha|beta|rc))+)?</version>#', $mokoContent, $m)) {
|
||||||
$mokoVersion = $m[1];
|
$mokoVersion = $m[1];
|
||||||
|
$existingSuffix = $m[2] ?? '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$readmeVersion = null;
|
$readmeVersion = null;
|
||||||
@@ -117,7 +119,8 @@ class VersionBumpCli extends CliFramework
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$newFull = sprintf('%02d.%02d.%02d', $major, $minor, $patch);
|
$newBase = sprintf('%02d.%02d.%02d', $major, $minor, $patch);
|
||||||
|
$newFull = $newBase . $existingSuffix;
|
||||||
if (file_exists($mokoManifest) && !empty($mokoContent)) {
|
if (file_exists($mokoManifest) && !empty($mokoContent)) {
|
||||||
$pattern = '#<version>\d{2}\.\d{2}\.\d{2}'
|
$pattern = '#<version>\d{2}\.\d{2}\.\d{2}'
|
||||||
. '(?:(?:-(?:dev|alpha|beta|rc))+)?</version>#';
|
. '(?:(?:-(?:dev|alpha|beta|rc))+)?</version>#';
|
||||||
@@ -132,7 +135,7 @@ class VersionBumpCli extends CliFramework
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (file_exists($readme) && !empty($readmeContent)) {
|
if (file_exists($readme) && !empty($readmeContent)) {
|
||||||
$updated = preg_replace('/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}(?:(?:-(?:dev|alpha|beta|rc))+)?/m', '${1}' . $newFull, $readmeContent, 1);
|
$updated = preg_replace('/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}(?:(?:-(?:dev|alpha|beta|rc))+)?/m', '${1}' . $newBase, $readmeContent, 1);
|
||||||
if ($updated !== null) {
|
if ($updated !== null) {
|
||||||
file_put_contents($readme, $updated);
|
file_put_contents($readme, $updated);
|
||||||
}
|
}
|
||||||
@@ -193,7 +196,7 @@ class VersionBumpCli extends CliFramework
|
|||||||
$changelogFile = "{$root}/CHANGELOG.md";
|
$changelogFile = "{$root}/CHANGELOG.md";
|
||||||
if (file_exists($changelogFile)) {
|
if (file_exists($changelogFile)) {
|
||||||
$clContent = file_get_contents($changelogFile);
|
$clContent = file_get_contents($changelogFile);
|
||||||
$updatedCl = preg_replace('/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}(?:(?:-(?:dev|alpha|beta|rc))+)?/m', '${1}' . $newFull, $clContent);
|
$updatedCl = preg_replace('/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}(?:(?:-(?:dev|alpha|beta|rc))+)?/m', '${1}' . $newBase, $clContent);
|
||||||
if ($updatedCl !== null && $updatedCl !== $clContent) {
|
if ($updatedCl !== null && $updatedCl !== $clContent) {
|
||||||
file_put_contents($changelogFile, $updatedCl);
|
file_put_contents($changelogFile, $updatedCl);
|
||||||
fwrite(STDERR, "Updated CHANGELOG.md\n");
|
fwrite(STDERR, "Updated CHANGELOG.md\n");
|
||||||
@@ -201,7 +204,7 @@ class VersionBumpCli extends CliFramework
|
|||||||
}
|
}
|
||||||
$scanExtensions = ['php', 'yml', 'yaml', 'md', 'txt', 'xml', 'sh', 'toml', 'ini', 'css', 'js'];
|
$scanExtensions = ['php', 'yml', 'yaml', 'md', 'txt', 'xml', 'sh', 'toml', 'ini', 'css', 'js'];
|
||||||
$excludeDirs = ['.git', 'vendor', 'node_modules', 'build', 'dist', '.claude'];
|
$excludeDirs = ['.git', 'vendor', 'node_modules', 'build', 'dist', '.claude'];
|
||||||
$versionPattern = '/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}(?:(?:-(?:dev|alpha|beta|rc))+)?/m';
|
$versionPattern = '/(VERSION:\s*)\d{2}\.\d{2}\.\d{2}/m';
|
||||||
$directory = new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS);
|
$directory = new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS);
|
||||||
$filter = new RecursiveCallbackFilterIterator($directory, function ($current, $key, $iterator) use ($excludeDirs) {
|
$filter = new RecursiveCallbackFilterIterator($directory, function ($current, $key, $iterator) use ($excludeDirs) {
|
||||||
if ($current->isDir() && in_array($current->getFilename(), $excludeDirs, true)) {
|
if ($current->isDir() && in_array($current->getFilename(), $excludeDirs, true)) {
|
||||||
@@ -236,7 +239,7 @@ class VersionBumpCli extends CliFramework
|
|||||||
if (preg_match('/^#\s*REPO:\s*https?:\/\//m', $content)) {
|
if (preg_match('/^#\s*REPO:\s*https?:\/\//m', $content)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$updated = preg_replace($versionPattern, '${1}' . $newFull, $content);
|
$updated = preg_replace($versionPattern, '${1}' . $newBase, $content);
|
||||||
if ($updated !== null && $updated !== $content) {
|
if ($updated !== null && $updated !== $content) {
|
||||||
file_put_contents($filePath, $updated);
|
file_put_contents($filePath, $updated);
|
||||||
$genericUpdated[] = $relPath;
|
$genericUpdated[] = $relPath;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class VersionBumpTest extends TestCase
|
|||||||
|
|
||||||
$this->execute();
|
$this->execute();
|
||||||
$content = file_get_contents("{$this->tmpDir}/README.md");
|
$content = file_get_contents("{$this->tmpDir}/README.md");
|
||||||
$this->assertStringContainsString('03.05.02', $content);
|
$this->assertStringContainsString('09.21.08', $content);
|
||||||
$this->assertStringContainsString('Some content', $content);
|
$this->assertStringContainsString('Some content', $content);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,6 +86,22 @@ class VersionBumpTest extends TestCase
|
|||||||
$this->assertStringContainsString('01.00.01', $output);
|
$this->assertStringContainsString('01.00.01', $output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testPreservesSuffixOnBump(): void
|
||||||
|
{
|
||||||
|
mkdir("{$this->tmpDir}/.mokogitea", 0755, true);
|
||||||
|
file_put_contents(
|
||||||
|
"{$this->tmpDir}/.mokogitea/manifest.xml",
|
||||||
|
'<manifest><identity><version>01.02.03-dev</version></identity></manifest>'
|
||||||
|
);
|
||||||
|
$this->writeReadme('01.02.03');
|
||||||
|
|
||||||
|
$output = $this->execute();
|
||||||
|
$this->assertStringContainsString('01.02.04-dev', $output);
|
||||||
|
|
||||||
|
$manifest = file_get_contents("{$this->tmpDir}/.mokogitea/manifest.xml");
|
||||||
|
$this->assertStringContainsString('01.02.04-dev', $manifest);
|
||||||
|
}
|
||||||
|
|
||||||
public function testFailsWithNoVersion(): void
|
public function testFailsWithNoVersion(): void
|
||||||
{
|
{
|
||||||
file_put_contents(
|
file_put_contents(
|
||||||
|
|||||||
Reference in New Issue
Block a user