From de865626c36d267db4d0f7144926c3a29c2d7750 Mon Sep 17 00:00:00 2001 From: mmagician Date: Thu, 29 Dec 2022 20:08:32 +0100 Subject: [PATCH] Correct tag name & complete command suggestion (#569) * tagname should be prefixed with "v" * suggest the full command complete with a version name --- .github/release-pr-template.ejs | 2 +- makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-pr-template.ejs b/.github/release-pr-template.ejs index 749f193b5..515c86ed9 100644 --- a/.github/release-pr-template.ejs +++ b/.github/release-pr-template.ejs @@ -9,5 +9,5 @@ This is a release PR for version **<%= version.actual %>**<% You will still need to manually publish the cargo crate: ``` -$ make VERSION= release +$ make VERSION=<%= version.actual %> release ``` diff --git a/makefile b/makefile index 833c8a830..fee982a5c 100644 --- a/makefile +++ b/makefile @@ -11,6 +11,6 @@ ifndef VERSION endif git pull cargo update - git tag $(VERSION) - git push origin $(VERSION) + git tag v$(VERSION) + git push origin v$(VERSION) cargo release publish --execute --verbose