diff --git a/deployment/README.md b/deployment/README.md index 504c724..0048ac0 100644 --- a/deployment/README.md +++ b/deployment/README.md @@ -20,6 +20,7 @@ To create a tag and push it to the repository, follow these steps: ```bash VERSION=0.x.y # Replace x and y with the latest version numbers +git checkout main git pull origin git tag -s -a v${VERSION} -m "Version ${VERSION}" git push origin v${VERSION} diff --git a/version.go b/version.go index f212b98..f824300 100644 --- a/version.go +++ b/version.go @@ -3,7 +3,6 @@ package pagu import "fmt" type Version struct { - Meta string Major uint8 Minor uint8 Patch uint8 @@ -13,15 +12,10 @@ var version = Version{ Major: 0, Minor: 0, Patch: 1, - Meta: "beta", } func StringVersion() string { ver := fmt.Sprintf("%d.%d.%d", version.Major, version.Minor, version.Patch) - if version.Meta != "" { - ver = fmt.Sprintf("%s-%s", ver, version.Meta) - } - return ver }