This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 0.1.2
|
||||
current_version = 1.0.0
|
||||
commit = True
|
||||
tag = True
|
||||
tag_name = {new_version}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# BumpVersion v0.1.2
|
||||
# BumpVersion v1.0.0
|
||||
|
||||
[](https://drone.halfakop.ru/rad/bumpversion)
|
||||
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user