File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ deploy:
20
20
tags : true
21
21
- provider : script
22
22
skip-cleanup : true
23
- script :
24
- - bash scripts/patch-version.sh
25
- - bash scripts/deploy.sh
23
+ script : bash scripts/patch-version.sh && bash scripts/deploy.sh
26
24
on :
27
25
branch : master
28
26
tags : false
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ echo " Packing..."
3
4
dotnet pack -c Release src/TeamSpeak3QueryApi/TeamSpeak3QueryApi.csproj
5
+
6
+ echo " Pushing..."
4
7
dotnet nuget push -k $NUGET_KEY -s https://api.nuget.org/v3/index.json src/TeamSpeak3QueryApi/bin/Release/* .nupkg
8
+ echo " Pushed!"
Original file line number Diff line number Diff line change @@ -28,4 +28,8 @@ RELEASE_TYPE="beta"
28
28
# 1.2.3-beta.3+ab3fafb
29
29
VERSION=" ${XML_VERSION} -${RELEASE_TYPE} .${COMMITS_SINCE_LAST_TAG} +${COMMIT_ID} "
30
30
31
+ echo " Using patched version: ${VERSION} "
32
+ echo " Patching file.."
33
+
31
34
sed -i " s/${XML_VERSION} /${VERSION} /g" " ${CSPROJ_FILE} "
35
+ echo " File patched!"
You can’t perform that action at this time.
0 commit comments