From c0f8b4a3aef266e6d68f659f1e3adb97f2855a0a Mon Sep 17 00:00:00 2001 From: niko0xdev Date: Sat, 20 Jan 2024 17:18:54 +0700 Subject: [PATCH] Bump version to v0.17.54 --- Makefile | 2 +- VERSION | 2 +- graphql/VERSION | 1 + graphql/version.go | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 graphql/VERSION diff --git a/Makefile b/Makefile index 38a0dc4..b699af1 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ patch: - $(eval patch=$(shell echo $$(($(patch)+1)))) - @echo "New Version: $(major).$(minor).$(patch)" - @printf $(major).$(minor).$(patch) > VERSION - - git add VERSION + - cp VERSION graphql/VERSION - git add --all - git commit -m "Bump version to $(major).$(minor).$(patch)" - git tag "$(major).$(minor).$(patch)" -m "Patch version update: $(major).$(minor).$(patch)" diff --git a/VERSION b/VERSION index 946d1d4..4c8a850 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.17.53 \ No newline at end of file +v0.17.54 \ No newline at end of file diff --git a/graphql/VERSION b/graphql/VERSION new file mode 100644 index 0000000..4c8a850 --- /dev/null +++ b/graphql/VERSION @@ -0,0 +1 @@ +v0.17.54 \ No newline at end of file diff --git a/graphql/version.go b/graphql/version.go index 2baac22..6814f73 100644 --- a/graphql/version.go +++ b/graphql/version.go @@ -6,7 +6,7 @@ import ( ) func GetVersion() string { - content, err := os.ReadFile(string("../../VERSION")) + content, err := os.ReadFile(string("VERSION")) if err != nil { log.Fatal(err) }