Fix deploy: force Docker rebuild, add version check and redeploy script

This commit is contained in:
shop
2026-06-25 17:10:54 +03:00
parent efc95d48c4
commit 306002bfa1
9 changed files with 82 additions and 7 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ import (
"shop/internal/middleware"
"shop/internal/repository"
"shop/internal/upload"
"shop/internal/version"
)
func main() {
@@ -107,7 +108,7 @@ func main() {
}
go func() {
log.Printf("server listening on %s", addr)
log.Printf("Shop %s listening on %s", version.Version, addr)
if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed {
log.Fatalf("listen: %v", err)
}