Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Need to update the encrypted API token in appveyor.yml

Need to update the encrypted API token in appveyor.yml

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Sat 26 Mar 2022 04:41 PM (UTC)

Amended on Sat 26 Mar 2022 04:42 PM (UTC) by Fiendish

Message
The last appveyor build failed to publish to github (https://ci.appveyor.com/project/nickgammon/mushclient/builds/42883605). That suggests to me that
https://github.com/nickgammon/mushclient/blob/master/appveyor.yml#L9
and
https://github.com/nickgammon/mushclient/blob/master/appveyor.yml#L26
are both still using the old API token format that Github doesn't accept anymore.

You need to generate a new Github API token at https://github.com/settings/tokens with at least public_repo access, paste it into https://ci.appveyor.com/tools/encrypt and then replace the two values above with the encrypted output.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 27 Mar 2022 04:00 AM (UTC)
Message
I thought I had done that, but evidently not. I had the encrypted token sitting in my keychain so I had at least made one. This seemed to work OK:


Time Elapsed 00:01:46.09
Discovering tests...OK
"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe" -manifest MUSHclient.exe.manifest -updateresource:WinRel\MUSHclient.exe;#1
Microsoft (R) Manifest Tool version 6.3.9600.17336
Copyright (c) Microsoft Corporation 2012. 
All rights reserved.
Push-AppveyorArtifact WinRel\MUSHclient.exe -FileName MUSHclient.exe
Uploading artifact MUSHclient.exe (3,934,720 bytes)...100%
git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:auth_token):x-oauth-basic@github.com`n"
git tag -f latest_commit HEAD
Updated tag 'latest_commit' (was 0a96ac2)
git push -f origin latest_commit
To https://github.com/nickgammon/mushclient.git
 + 0a96ac2...5ca6b82 latest_commit -> latest_commit (forced update)
Deploying using GitHub provider
Creating "latest_commit" release for repository "nickgammon/mushclient" tag "latest_commit" commit "5ca6b82f8dc5ee6c2a49d5b3229868fa90c1ff44"...Skipped - release with tag "latest_commit" already exists
Deleting existing release asset "MUSHclient.exe"...OK
Uploading "MUSHclient.exe" to release assets...OK
Updating "latest_commit" release for repository "nickgammon/mushclient" tag "latest_commit" commit "5ca6b82f8dc5ee6c2a49d5b3229868fa90c1ff44"...OK
Build success


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,132 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.