fix(ci): strip v prefix from version in vencord.dev updater
This commit is contained in:
3
.github/workflows/update-vencord-dev.yml
vendored
3
.github/workflows/update-vencord-dev.yml
vendored
@@ -17,7 +17,8 @@ jobs:
|
|||||||
git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git repo
|
git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git repo
|
||||||
|
|
||||||
cd repo
|
cd repo
|
||||||
echo "${{ github.event.release.tag_name }}" > scripts/_latestVesktopVersion.txt
|
version="${{ github.event.release.tag_name }}"
|
||||||
|
echo "${version#v}" > scripts/_latestVesktopVersion.txt
|
||||||
|
|
||||||
git add scripts/_latestVesktopVersion.txt
|
git add scripts/_latestVesktopVersion.txt
|
||||||
git commit -m "Update Vesktop version to ${{ github.event.release.tag_name }}"
|
git commit -m "Update Vesktop version to ${{ github.event.release.tag_name }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user