Skip to content

Commit 28e3fe2

Browse files
committed
Also build and push the Lingo variant. Version tweak.
1 parent 490ac2b commit 28e3fe2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
ver_suf = '';
3030
}
3131
core.exportVariable('VER_STR', ver_str);
32-
core.exportVariable('VER_NUM', vs.formatVersion(`${majmin}.$(GitRevCount).$(RunNumber)`));
32+
core.exportVariable('VER_NUM', vs.formatVersion(`${majmin}.$(GitRevCount)`));
3333
core.exportVariable('VER_SUF', ver_suf);
3434
3535
- name: Install dotnet
@@ -47,6 +47,9 @@ jobs:
4747
- name: "dotnet pack: ${{ env.VER_STR }}"
4848
run: dotnet pack Src/RT.CommandLine.csproj --configuration Release -p:InformationalVersion="${{env.VER_STR}}" -p:VersionPrefix=${{env.VER_NUM}} -p:VersionSuffix=${{env.VER_SUF}} -p:FileVersion=${{env.VER_NUM}} -p:AssemblyVersion=${{env.VER_NUM}} -o Publish
4949

50+
- name: "dotnet pack Lingo: ${{ env.VER_STR }}"
51+
run: dotnet pack SrcLingo/RT.CommandLine.Lingo.csproj --configuration Release -p:InformationalVersion="${{env.VER_STR}}" -p:VersionPrefix=${{env.VER_NUM}} -p:VersionSuffix=${{env.VER_SUF}} -p:FileVersion=${{env.VER_NUM}} -p:AssemblyVersion=${{env.VER_NUM}} -o Publish
52+
5053
- name: Push to NuGet
5154
run: dotnet nuget push Publish/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
5255

0 commit comments

Comments
 (0)