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}"