From ccd9d8c466c81ddaee6f8d0a4c668cb94dbc6d0b Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 7 Dec 2021 16:10:49 +0800 Subject: [PATCH] improve makefile for version target --- Makefile | 2 +- pkg/version/version.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f7dcf832c..919dd3530 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ version: pkg/version/version.go migrations migrations: rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql rockhopper compile --config rockhopper_sqlite.yaml --output pkg/migrations/sqlite3 - (git add -v pkg/migrations && git commit -m "compile and update migration package" pkg/migrations) || true + git add -v pkg/migrations && git commit -m "compile and update migration package" pkg/migrations || true docker: GOPATH=$(PWD)/_mod go mod download diff --git a/pkg/version/version.go b/pkg/version/version.go index 0bbd041bc..0c63e898a 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -2,7 +2,7 @@ package version -const Version = "v1.19.3-434f98ee" +const Version = "v1.19.3-645869c8" -const VersionGitRef = "434f98ee" +const VersionGitRef = "645869c8"