Skip to content

Commit 9fefdf8

Browse files
committed
fixes.
1 parent 28ea50e commit 9fefdf8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/nuget.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: "Deploy to Nuget"
22

33
on:
4+
workflow_dispatch:
45
push:
5-
tags:
6-
- 'v*'
6+
branches:
7+
- master
78

89
env:
910
PROJECT_PATH: 'FmgLib.Localization.csproj'
@@ -34,7 +35,7 @@ jobs:
3435
uses: battila7/get-version-action@v2
3536

3637
- name: 'Pack project'
37-
run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols -p:PackageVersion=${{ steps.version.output.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
38+
run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
3839

3940
- name: 'Push package'
4041
run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}\*.nupkg -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}

‎FmgLib.Localization.csproj‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<PackageIcon>nuget.png</PackageIcon>
1515
<PackageReadmeFile>README.md</PackageReadmeFile>
1616
<PackageLicenseFile>LICENSE</PackageLicenseFile>
17+
<Version>1.0.4</Version>
1718
</PropertyGroup>
1819

1920
<ItemGroup>

0 commit comments

Comments
 (0)