Rename product to dockmv (container, image, module, env vars)

Container/image/service name, Go module path, CLI binary name, and
DOCKER_MIGRATE_* env vars still used the old working name; the project
is branded DockMV everywhere else (README, logo, Gitea repo).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-11 13:56:26 +02:00
co-authored by Claude Sonnet 5
parent 832af4aaae
commit 34e18987a0
32 changed files with 113 additions and 109 deletions
+7 -7
View File
@@ -1,7 +1,7 @@
#requires -Version 5.1
<#
.SYNOPSIS
Build the docker-migrate container image + release binaries; push the image to
Build the dockmv container image + release binaries; push the image to
the Gitea registry and attach the binaries to a Gitea release.
.DESCRIPTION
@@ -58,7 +58,7 @@ param(
[string]$Owner = "kawa",
# Image name.
[string]$Image = "docker-migrate",
[string]$Image = "dockmv",
# Repository name holding the releases. The image and the repo are not named
# the same here, so this is separate from -Image.
@@ -242,7 +242,7 @@ function Publish-BinaryRelease {
Write-Host " creating release $Tag in $RepoPath..." -ForegroundColor DarkGray
$release = Invoke-GiteaApi -Method POST -Uri $releasesUri -Token $Token -Body @{
tag_name = $Tag
name = "docker-migrate $Tag"
name = "dockmv $Tag"
body = "Standalone binaries for linux, macOS and Windows. Container image: see the package registry."
draft = $false
}
@@ -311,7 +311,7 @@ try {
$tags = @("$base`:$Tag")
if (-not $NoLatest -and $Tag -ne "latest") { $tags += "$base`:latest" }
Write-Host "docker-migrate publish" -ForegroundColor Cyan
Write-Host "dockmv publish" -ForegroundColor Cyan
Write-Host " registry : $Registry"
if ($pushImage) {
Write-Host " image : $base"
@@ -358,10 +358,10 @@ try {
# Uploading a binary older than the code it claims to be is the one way
# this flag can quietly go wrong, so say so rather than assume.
$oldest = (Get-ChildItem $distDir -Filter "docker-migrate-$Tag-*" -File |
$oldest = (Get-ChildItem $distDir -Filter "dockmv-$Tag-*" -File |
Sort-Object LastWriteTime | Select-Object -First 1)
if (-not $oldest) {
throw "no archives named docker-migrate-$Tag-* in $distDir — the exe on disk was built under a different tag. Drop -NoBinaryBuild."
throw "no archives named dockmv-$Tag-* in $distDir — the exe on disk was built under a different tag. Drop -NoBinaryBuild."
}
$newer = Get-ChildItem $repoRoot -Recurse -Include *.go, *.ts, *.tsx, *.css, *.html -File |
Where-Object {
@@ -383,7 +383,7 @@ try {
& (Join-Path $PSScriptRoot "build-release.ps1") -Tag $Tag -Targets $Targets -SkipUi:$SkipUi
}
$artifacts = @(Get-ChildItem $distDir -Filter "docker-migrate-$Tag-*" -File | ForEach-Object FullName)
$artifacts = @(Get-ChildItem $distDir -Filter "dockmv-$Tag-*" -File | ForEach-Object FullName)
if (-not $artifacts.Count) { throw "no release archives for $Tag found in $distDir." }
$sums = Join-Path $distDir "SHA256SUMS.txt"
if (Test-Path $sums) { $artifacts += $sums }