You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
system info - not sure what you need so decide to include
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\ondro\AppData\Local\go-build
set GOENV=C:\Users\ondro\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\ondro\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\ondro\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Users\ondro\scoop\apps\go\current
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Users\ondro\scoop\apps\go\current\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.23.0
set GODEBUG=
set GOTELEMETRY=local
set GOTELEMETRYDIR=C:\Users\ondro\AppData\Roaming\go\telemetry
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=C:\Users\ondro\source\repos\GO\common\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\ondro\AppData\Local\Temp\go-build169805946=/tmp/go-build -gno-record-gcc-switches
git-semv -v
git-semv version 1.2.0 [0cc0908edf0f46ded1ffaeeb21ce56a041b634a8, 2021-06-17T14:08:26Z]
So doing the following seems to work
// cli.goifc.Bump {
ifgitTagCmder==nil {
gitTagCmder=Cmd{}
}
// uses moved this to var now it's used in 3 placesnextVer:=next.String()
// added the -a and -m flags_, err=gitTagCmder.Do("git", "tag", "-a", nextVer, fmt.Sprintf("-m Version %s", nextVer))
iferr!=nil {
fmt.Fprintf(c.env.Err, "Error: %s\n", err)
returnExitErr
}
ifgitPushTagCmder==nil {
gitPushTagCmder=Cmd{}
}
_, err=gitPushTagCmder.Do("git", "push", "origin", nextVer)
iferr!=nil {
fmt.Fprintf(c.env.Err, "Error: %s\n", err)
returnExitErr
}
fmt.Fprintf(c.env.Out, "Bumped version to %s\n", next)
}
The text was updated successfully, but these errors were encountered:
ondrovic
changed the title
[Feature Request] Tag date
[Feature Request || Bug Fix ] Tag date
Aug 16, 2024
Can we add a date to when we use your tool?
Currently if you do the following
you just get a list of tags with no dates
if you create like like so using git using the annotated tag -a
examples: all where done using
git-semv patch --bump
on windows, exceptv0.1.22
which was done withgit tag -a
system info - not sure what you need so decide to include
So doing the following seems to work
The text was updated successfully, but these errors were encountered: