From 88b9aceb01270d75918f97f19e0bdc74dd124572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sun, 24 Jul 2022 14:32:37 +1200 Subject: [PATCH] Fix the instructions for publish on the release PR (#237) --- .github/workflows/release-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index cf7e3305..1b245801 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -63,8 +63,8 @@ jobs: title="release: v${{ inputs.version }}" body_intro="This is a release PR for version **${{ inputs.version }}**." - body_merge="**Use squash merge.** Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate." - body_pub="${fence}$ cd ${{ env.crate_path }}${nl}$ cargo publish${ecnef}" + body_merge="**Use squash merge.**${nl}Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate." + body_pub="${fence}$ git switch main${nl}$ git pull${nl}$ git checkout v${{ inputs.version }}${nl}$ cargo publish${ecnef}" body_notes="---${br}_Edit release notes into the section below:_${br}${nl}### Release notes" body="${body_intro}${br}${body_merge}${br}${body_pub}${br}${body_notes}${br}"