Skip to content

Commit c0c9ab4

Browse files
committed
I LOV EGITHUB ACTIONS SO MUCH
1 parent 880def0 commit c0c9ab4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/v2.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ jobs:
5757
run: dotnet restore bprintweb
5858
- name: Build
5959
run: |
60-
$appversion = "${{ github.ref_name }}".substring(1)
61-
echo $appversion
62-
dotnet publish --configuration Release --no-restore /p:Version=$appversion -r linux-arm64 --self-contained bprintweb
60+
ref_name="${{ github.ref_name }}"
61+
appversion="${ref_name:1}"
62+
echo "$appversion"
63+
dotnet publish --configuration Release --no-restore /p:Version="$appversion" -r linux-arm64 --self-contained bprintweb
6364
- name: Zip Release
6465
uses: TheDoctor0/zip-release@0.6.0
6566
with:

0 commit comments

Comments
 (0)