mirror of
https://github.com/Macro-Deck-App/Macro-Deck.git
synced 2026-05-06 21:51:04 +08:00
Update create-release.yml
This commit is contained in:
9
.github/workflows/create-release.yml
vendored
9
.github/workflows/create-release.yml
vendored
@@ -43,11 +43,10 @@ jobs:
|
||||
github-token: "${{secrets.GITHUB_TOKEN}}"
|
||||
|
||||
- name: Update CSProj Version
|
||||
uses: Mudlet/xmlstarlet-action@v1.2
|
||||
with:
|
||||
command: edit
|
||||
args: --inplace --update "/Project/PropertyGroup/Version" --value ${{ needs.get-version.steps.fetch_version.output.version }} ./MacroDeck/MacroDeck.csproj
|
||||
|
||||
run: |
|
||||
sed -i 's/<Version>.*<\/Version>/<Version>${{ needs.get-version.steps.fetch_version.output.version }}<\/Version>/' ./MacroDeck/MacroDeck.csproj
|
||||
git add ./MacroDeck/MacroDeck.csproj
|
||||
|
||||
- name: Commit Changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user