We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b3b04 commit 61e50ebCopy full SHA for 61e50eb
.github/workflows/deploy.yml
@@ -28,7 +28,7 @@ jobs:
28
id: get_latest_tag
29
run: |
30
git fetch --tags # Ensure all tags are fetched
31
- LATEST_TAG=$(git tag -l --sort=-v:refname | head -n 1)
+ LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
32
if [ -z "$LATEST_TAG" ]; then
33
echo "No tags found"
34
exit 1
@@ -55,7 +55,7 @@ jobs:
55
env:
56
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
with:
58
- tag_name: ${{ env.latest_tag }}
+ tag_name: ${{ env.plugin_version }} # Use the plugin version as the tag name
59
release_name: "Release ${{ env.plugin_version }}"
60
body: ${{ env.changelog }}
61
draft: false
0 commit comments