Skip to content

Commit

Permalink
Use refname, not ref, in release text substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Dec 13, 2021
1 parent 2de43d5 commit 2522d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2522d39

Please sign in to comment.