Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PassiveModding committed Dec 17, 2023
1 parent 316d4ad commit c5d1a4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
wget https://goatcorp.github.io/dalamud-distrib/latest.zip -O /tmp/dalamud.zip
unzip /tmp/dalamud.zip -d /tmp/dalamud
- name: Update Version in csproj
run: |
release_version=$(echo ${{ github.ref_name }} | sed 's/^v//')
sed -i Meddle/Meddle.Plugin/Meddle.Plugin.csproj -E \
-e 's#<Version>[0-9]*\.([0-9]*\.){0,1}[0-9]*</Version>#<Version>'"$release_version"'</Version>#g'
- name: Restore Dependencies
run: dotnet restore

Expand Down

0 comments on commit c5d1a4d

Please sign in to comment.