Skip to content

Commit da51ebb

Browse files
authored
fix(ci): strip v prefix from version in vencord.dev updater
1 parent d0399cb commit da51ebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-vencord-dev.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git repo
1818
1919
cd repo
20-
echo "${{ github.event.release.tag_name }}" > scripts/_latestVesktopVersion.txt
20+
version="${{ github.event.release.tag_name }}"
21+
echo "${version#v}" > scripts/_latestVesktopVersion.txt
2122
2223
git add scripts/_latestVesktopVersion.txt
2324
git commit -m "Update Vesktop version to ${{ github.event.release.tag_name }}"

0 commit comments

Comments
 (0)