From 2522d3942c26d22b3e3b8b31d997667b8ec6149f Mon Sep 17 00:00:00 2001 From: Jon Manning Date: Mon, 13 Dec 2021 22:36:14 +1100 Subject: [PATCH] Use refname, not ref, in release text substitution --- .github/RELEASE_TEMPLATE.md | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/RELEASE_TEMPLATE.md b/.github/RELEASE_TEMPLATE.md index 7a2e86cc..8eb7ed93 100644 --- a/.github/RELEASE_TEMPLATE.md +++ b/.github/RELEASE_TEMPLATE.md @@ -24,7 +24,7 @@ To install this release of Yarn Spinner into your Unity project, follow these st * If you already have any previous version of the Yarn Spinner package installed, remove it. * Click the `+` button, and click *Add package from git URL...* * Enter the following URL: - * `https://github.com/YarnSpinnerTool/YarnSpinner-Unity.git#{{RELEASE_TAG}}` + * `https://github.com/YarnSpinnerTool/YarnSpinner-Unity.git#{RELEASE_TAG}` Each release will have a different URL. To upgrade to future versions of Yarn Spinner 2.0, you will need to uninstall the package, and reinstall using the new URL. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e317682..6ba827a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: with: _input-file: .github/RELEASE_TEMPLATE.md _format-key: '{key}' - RELEASE_TAG: ${{ github.ref }} + RELEASE_TAG: ${{ github.ref_name }} - name: Create release uses: actions/create-release@v1 env: