Skip to content

Commit a284888

Browse files
committed
Increase verbosity
1 parent bb0f074 commit a284888

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ deploy:
2020
tags: true
2121
- provider: script
2222
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
2624
on:
2725
branch: master
2826
tags: false

scripts/deploy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
22

3+
echo "Packing..."
34
dotnet pack -c Release src/TeamSpeak3QueryApi/TeamSpeak3QueryApi.csproj
5+
6+
echo "Pushing..."
47
dotnet nuget push -k $NUGET_KEY -s https://api.nuget.org/v3/index.json src/TeamSpeak3QueryApi/bin/Release/*.nupkg
8+
echo "Pushed!"

scripts/patch-version.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ RELEASE_TYPE="beta"
2828
# 1.2.3-beta.3+ab3fafb
2929
VERSION="${XML_VERSION}-${RELEASE_TYPE}.${COMMITS_SINCE_LAST_TAG}+${COMMIT_ID}"
3030

31+
echo "Using patched version: ${VERSION}"
32+
echo "Patching file.."
33+
3134
sed -i "s/${XML_VERSION}/${VERSION}/g" "${CSPROJ_FILE}"
35+
echo "File patched!"

0 commit comments

Comments
 (0)