Skip to content

Commit

Permalink
Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMelcher committed Nov 14, 2021
1 parent 54762fc commit 5fc3a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: dotnet restore

- name: Publish Windows
run: dotnet publish -r win-x64 -c Release -p:Version=${{ github.event.inputs.version }} --no-restore --no-self-contained
run: dotnet publish -r win-x64 -c Release -p:Version=${{ github.event.inputs.version }} --no-restore --self-contained

- name: Publish Linux
run: dotnet publish -r linux-x64 -c Release -p:Version=${{ github.event.inputs.version }} --no-restore --no-self-contained
Expand Down
4 changes: 2 additions & 2 deletions release-version.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# handled in github actions
$version = "4.0.0-beta5"
dotnet publish -r win-x64 -c Release -p:Version=$version -o output/win-x64
dotnet publish -r win-x64 -c Release -p:Version=$version -o output/win-x64 --self-contained

#linux version
dotnet publish -r linux-x64 --configuration Release -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:Version=$version -o output/linux-x64
dotnet publish -r linux-x64 --configuration Release -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:Version=$version -o output/linux-x64 --no-self-contained

0 comments on commit 5fc3a68

Please sign in to comment.