-
Notifications
You must be signed in to change notification settings - Fork 3
/
push-to-nuget.bat
57 lines (47 loc) · 2.08 KB
/
push-to-nuget.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@echo off
if exist "%VS140COMNTOOLS%vsvars32.bat" call "%VS140COMNTOOLS%vsvars32.bat" & goto VARSSET
echo "Could not detect VS version!" & goto ERROR
:VARSSET
mkdir nupkg_archive
msbuild.exe "src\checkk\checkk.csproj" /p:configuration=Release
if %ERRORLEVEL% neq 0 goto ERROR
.nuget\nuget.exe pack src\Checkk\Checkk.csproj -Prop Configuration=Release
if %ERRORLEVEL% neq 0 goto ERROR
for %%f in (*.nupkg) do (
.nuget\nuget.exe push %%f
if %ERRORLEVEL% neq 0 goto ERROR
)
copy *.nupkg nupkg_archive\
del *.nupkg
goto SUCCESS
:SUCCESS
echo 8"b,""""""Ya
echo 8 "b, "Ya
echo PUSHED aaaaaaa8, "b, "Ya
echo UPSTAIRS 8"b, "Ya "8""""""
echo 8 "b, "Ya 8
echo aaaaaaa8, "b, "Ya8
echo 8"b, "Ya "8"""""""
echo 8 "b, "Ya 8
echo aaaaaa88, "b, "Ya8
echo 8"b, "Ya "8"""""""
echo 8 "b, "Ya 8
echo aaaaaaa8, "b, "Ya8
echo 8"b, "Ya "8"""""""
echo 8 "b, "Ya 8
echo 8, "b, "Ya8 Tina lives in Berlin
echo "Ya "8""""""" her voice so seldom
echo "Ya 8 on my machine is here tonight
echo "Ya8
goto END
:ERROR
echo Lipstick fodder
echo .
echo Ffffff Aaa Iiii Ll
echo Ff Aa Aa Ii Ll
echo Fffff Aa Aa Ii Ll
echo Ff Aaaaaaa Ii Ll
echo Ff Aa Aa Iiii Llllll
echo .
echo The boyfriend blond
:END