diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ef55062..2c1dfb2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.2 +current_version = 1.0.0 commit = True tag = True tag_name = {new_version} diff --git a/.drone.yml b/.drone.yml index d2c60c8..a610161 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: path: /var/run/docker.sock settings: dockerfile: Dockerfile - tags: 0.1.2 + tags: 1.0.0 force_tag: true registry: registry.halfakop.ru repo: registry.halfakop.ru/golang/bumpversion diff --git a/Dockerfile b/Dockerfile index dcb72c6..4b23947 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,6 @@ FROM golang:1.24-alpine AS builder ARG SOURCE_VERSION ARG SOURCE_COMMIT -ARG GOPROXY -ARG GONOSUMDB -ENV GOPROXY=${GOPROXY} -ENV GONOSUMDB=${GONOSUMDB} - -RUN go env GOPROXY -RUN test -n "$GOPROXY" || (echo "GOPROXY not set" && exit 1) - WORKDIR /app COPY go.mod go.sum ./ RUN go mod download diff --git a/README.md b/README.md index dd6cd27..3ffbea8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# BumpVersion v0.1.2 +# BumpVersion v1.0.0 [![Build Status](https://drone.halfakop.ru/api/badges/rad/bumpversion/status.svg)](https://drone.halfakop.ru/rad/bumpversion) diff --git a/VERSION b/VERSION index d917d3e..3eefcb9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.2 +1.0.0 diff --git a/src/main.go b/src/main.go index 5dcd897..23a7ccd 100644 --- a/src/main.go +++ b/src/main.go @@ -167,7 +167,7 @@ func resolveFlag(positive, negative *bool, defaultValue bool) (bool, error) { const AppName = "BumpVersion" var ( - AppVersion = "0.1.3" + AppVersion = "1.0.0" AppCommit = "unknown" )