improve makefile for version target

This commit is contained in:
c9s 2021-12-07 16:10:49 +08:00
parent 17b8be786c
commit ccd9d8c466
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ version: pkg/version/version.go migrations
migrations: migrations:
rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql
rockhopper compile --config rockhopper_sqlite.yaml --output pkg/migrations/sqlite3 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: docker:
GOPATH=$(PWD)/_mod go mod download GOPATH=$(PWD)/_mod go mod download

View File

@ -2,7 +2,7 @@
package version package version
const Version = "v1.19.3-434f98ee" const Version = "v1.19.3-645869c8"
const VersionGitRef = "434f98ee" const VersionGitRef = "645869c8"