Skip to content

Commit 29ff0a3

Browse files
committed
add version ci suffix to nuget
1 parent b29d567 commit 29ff0a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish_ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ jobs:
1616
uses: actions/setup-dotnet@v1
1717
- name: Build with dotnet
1818
run: |
19-
DOTNET_CLI_TELEMETRY_OPTOUT=1
20-
dotnet build --nologo --configuration Release
21-
dotnet pack --no-build -c Release -o nuget
19+
sed -i "s|<Version>\(.*\)</Version>|<Version>\1-ci-$GITHUB_RUN_ID</Version>|" src/FSharp.Collections.Immutable/FSharp.Collections.Immutable.fsproj
20+
dotnet pack --nologo --configuration Release -o nuget
2221
- name: MyGet push
2322
run: |
2423
source=https://www.myget.org/F/fsharp-collections-immutable/api/v3/index.json

0 commit comments

Comments
 (0)