Skip to content

Commit ee2bac0

Browse files
authored
Update dotnet-desktop.yml
1 parent 1333ae1 commit ee2bac0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
#with:
2727
# fetch-depth: 0
2828

29-
- name: Set Version Variable
30-
if: ${{ github.ref_type == 'tag' }}
29+
#- name: Set Version Variable
30+
# if: ${{ github.ref_type == 'tag' }}
3131
#env:
3232
# VERSION: ${{ github.ref_name }}
33-
run: |
34-
echo "${{ env.VERSION }}"
35-
$VERSION = "${{ env.VERSION }} -replace 'v.', ''"
36-
echo "${{ env.VERSION }}"
33+
# run: |
34+
# echo "${{ env.VERSION }}"
35+
# $VERSION = "${{ env.VERSION }} -replace 'v.', ''"
36+
# echo "${{ env.VERSION }}"
3737
#run: echo "VERSION=${TAG#v.#}" > $GITHUB_ENV
3838

3939
# Install the .NET Core workload
@@ -81,9 +81,9 @@ jobs:
8181
- name: Publish Release
8282
uses: "slord399/action-automatic-releases@v1.0.1"
8383
with:
84-
title: "Release v.${{ env.VERSION }}"
84+
title: "Release ${{ env.VERSION }}"
8585
repo_token: "${{ env.GITHUB_TOKEN }}"
86-
automatic_release_tag: "v.${{ env.VERSION }}"
86+
automatic_release_tag: "${{ env.VERSION }}"
8787
prerelease: false
8888
files: |
8989
*.zip

0 commit comments

Comments
 (0)