File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11BUILD_DIR: =src/TalonOne
22VERSION: =$(shell grep -om1 -E '^\[assembly: AssemblyVersion\("[0-9\.]+"\) \]$$' $(PWD ) /$(BUILD_DIR ) /Properties/AssemblyInfo.cs | sed 's/\[assembly: AssemblyVersion("\(.*\)")\]/\1/')
3- DOCKER_TAG_ARCH: =$(shell [[ $(shell uname -m) == "arm64" ]] && echo "8.0-focal-arm64v8" || echo "sdk:8.0-focal")
43
54default : testenv
65
1716 --rm \
1817 -v $(PWD):/tmp/talon-client \
1918 -w "/tmp/talon-client/$(BUILD_DIR)" \
20- mcr.microsoft.com/dotnet/sdk:$(DOCKER_TAG_ARCH) \
19+ mcr.microsoft.com/dotnet/sdk:8.0 \
2120 dotnet pack TalonOne.csproj \
2221 -p:PackageVersion=$(VERSION) \
2322 --output . \
3736 --rm \
3837 -v $(PWD):/tmp/talon-client \
3938 -w "/tmp/talon-client/$(BUILD_DIR)" \
40- mcr.microsoft.com/dotnet/sdk:$(DOCKER_TAG_ARCH) \
39+ mcr.microsoft.com/dotnet/sdk:8.0 \
4140 dotnet nuget push TalonOne.$(VERSION).nupkg \
4241 --api-key $(apiKey) \
4342 --source https://api.nuget.org/v3/index.json
@@ -48,5 +47,5 @@ testenv:
4847 --rm -it \
4948 -v $(PWD ) :/tmp/talon-client \
5049 -w /tmp/talon-client \
51- mcr.microsoft.com/dotnet/sdk:$( DOCKER_TAG_ARCH ) \
50+ mcr.microsoft.com/dotnet/sdk:8.0 \
5251 /bin/bash
You can’t perform that action at this time.
0 commit comments