Skip to content

Commit

Permalink
version bump v1.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Jul 3, 2024
1 parent e38daa9 commit 23ba982
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions cmd/reissuer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
"github.com/urfave/cli/v2"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/reflect/protoreflect"
)

var (
Expand Down Expand Up @@ -1027,3 +1028,21 @@ func askForConfirmation(s string) bool {
func weekFromNow() time.Time {
return time.Now().AddDate(0, 0, 7)
}

func printJSON(m protoreflect.ProtoMessage) (err error) {

Check failure on line 1032 in cmd/reissuer/main.go

View workflow job for this annotation

GitHub Actions / Go Lint

func printJSON is unused (U1000)

Check failure on line 1032 in cmd/reissuer/main.go

View workflow job for this annotation

GitHub Actions / Go Lint

func printJSON is unused (U1000)
jsonpb := protojson.MarshalOptions{
Multiline: true,
Indent: " ",
AllowPartial: true,
UseProtoNames: true,
UseEnumNumbers: false,
EmitUnpopulated: true,
}

var data []byte
if data, err = jsonpb.Marshal(m); err != nil {
return cli.Exit(fmt.Errorf("could not marshal protocol buffer: %w", err), 1)
}
fmt.Println(string(data))
return nil
}
4 changes: 2 additions & 2 deletions pkg/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import "fmt"
const (
VersionMajor = 1
VersionMinor = 7
VersionPatch = 7
VersionPatch = 8
VersionReleaseLevel = ""
VersionReleaseNumber = 14
VersionReleaseNumber = 15
)

// Set the GitVersion via -ldflags="-X 'github.com/trisacrypto/directory/pkg.GitVersion=$(git rev-parse --short HEAD)'"
Expand Down
2 changes: 1 addition & 1 deletion web/gds-admin-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gds-admin-ui",
"version": "1.7.7",
"version": "1.7.8",
"private": true,
"dependencies": {
"@hookform/resolvers": "^2.9.10",
Expand Down
2 changes: 1 addition & 1 deletion web/gds-user-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gds-user-ui",
"version": "1.7.7",
"version": "1.7.8",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
Expand Down

0 comments on commit 23ba982

Please sign in to comment.