From bf580daead10df0295f3de3d7958e1039f6da33c Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 9 Jan 2025 20:23:36 +0800 Subject: [PATCH] :truck: Rename something --- README.md | 4 ++-- pkg/internal/models/release.go | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d51e662..5778365 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ And the value is list of the compressed assets files or links. ### Updates -About the release, we got two types of the release, full release and increment one. +About the release, we got two types of the release, full release and patch one. -For new users, it will need to download the latest full release and all the increment releases after it, +For new users, it will need to download the latest full release and all the patch releases after it, and our app will merge all the release into a working one. For the old users that already have the previous release, it will download the latest increment one diff --git a/pkg/internal/models/release.go b/pkg/internal/models/release.go index fb1135f..35f044e 100644 --- a/pkg/internal/models/release.go +++ b/pkg/internal/models/release.go @@ -8,9 +8,8 @@ import ( type ProductReleaseType int const ( - ReleaseTypeMinor = ProductReleaseType(iota) - ReleaseTypeRegular - ReleaseTypeMajor + ReleaseTypeFull = ProductReleaseType(iota) + ReleaseTypePatch ) type ProductRelease struct {