Skip to content

Commit

Permalink
updating NuGet's API token in AppVeyor config file
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed May 5, 2019
1 parent 0a136cd commit 4cdcb52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ environment:
VERSION_UNSTABLE_SUFFIX: 'preview'
APPVEYOR_TOKEN:
secure: LtoVAPATN9iTCl1zkCvEktqP92QSEEngyS3vqG3GphE=

init:
- ps: |
$env:VERSION_SIMPLE = $env:APPVEYOR_BUILD_VERSION.TrimStart("v")
Expand Down Expand Up @@ -98,7 +98,7 @@ deploy:
-
provider: NuGet
api_key:
secure: TrtChQUTQ9rD8pffK1A9bjMYyN/8eQUjV+7IKVjS/C37TgXMae46Bzd527bZUVSb
secure: i6oWn60J7ZOM4UuYcvxbuk9OAEp6or+Wq7izyJDPNlcLIhG2UKsxz7G/8erhdY3M
artifact: NuGet_Files
server: # remove to push to NuGet.org
skip_symbols: false
Expand All @@ -113,7 +113,7 @@ deploy:
api_key:
secure: 3zmnmVBweTgdk4SBM/rWHdC9JOM9s0pxm1bw1d+WHDo=
artifact: NuGet_Files

after_deploy:
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq "true" -and $env:APPVEYOR_REPO_TAG_NAME) {
Expand All @@ -123,7 +123,7 @@ after_deploy:
"Content-type" = "application/json"
}
Invoke-RestMethod -Method Put "$apiUrl/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/settings/build-number" -Body '{"nextBuildNumber": 1 }' -Headers $headers
$env:APPVEYOR_REPO_TAG_NAME = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v")
if ($env:APPVEYOR_REPO_TAG_NAME -match '^([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?)$') {
$tag_ver = [version]$env:APPVEYOR_REPO_TAG_NAME
Expand Down

0 comments on commit 4cdcb52

Please sign in to comment.