Skip to content

Commit

Permalink
Update: v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Jun 17, 2023
1 parent 7c48a8a commit 15be65c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# "Makefile" for graftcp.
# Copyright (C) 2016, 2018, 2020, 2021 Hmgle <[email protected]>
# Copyright (C) 2016, 2018, 2020, 2021, 2023 Hmgle <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -46,7 +46,7 @@ else
endif

ifneq ($(shell echo $(VERSION) | head -c 1), v)
VERSION=v0.5
VERSION=v0.6
endif
CFLAGS += -DVERSION=\"$(VERSION)\"

Expand Down
2 changes: 1 addition & 1 deletion graftcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "string-set.h"

#ifndef VERSION
#define VERSION "v0.5"
#define VERSION "v0.6"
#endif

struct sockaddr_in PROXY_SA;
Expand Down
2 changes: 1 addition & 1 deletion local/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifneq ($(shell echo $(VERSION) | head -c 1), v)
VERSION=v0.5
VERSION=v0.6
endif

GO_BUILD_PREFIX_FLAGS :=
Expand Down
2 changes: 1 addition & 1 deletion local/cmd/graftcp-local/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var (
selectProxyMode string
version = "v0.5"
version = "v0.6"
)

// App for graftcp-local.
Expand Down
3 changes: 2 additions & 1 deletion local/cmd/mgraftcp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package main
//
// int client_main(int argc, char **argv);
import "C"

import (
"bufio"
"fmt"
Expand Down Expand Up @@ -63,7 +64,7 @@ var (
help bool
showVersion bool

version = "v0.5"
version = "v0.6"
)

func init() {
Expand Down

0 comments on commit 15be65c

Please sign in to comment.