This commit is contained in:
@@ -6,7 +6,7 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bumpversion src/main.go
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bumpversion src/main.go
|
||||||
|
|
||||||
FROM alpine/git:v2.47.2
|
FROM alpine/git
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /app/bumpversion .
|
COPY --from=builder /app/bumpversion .
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ func resolveFlag(positive, negative *bool, defaultValue bool) bool {
|
|||||||
// Версия приложения
|
// Версия приложения
|
||||||
const (
|
const (
|
||||||
AppName = "BumpVersion"
|
AppName = "BumpVersion"
|
||||||
AppVersion = "0.1.4"
|
AppVersion = "0.1.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user