[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  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] Refresh page


Posted by Fiendish   USA  (2,500 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,928 posts)  [Biography] 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
[Go to top] 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.


4,723 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]