【问题标题】:GitHub CLI Download specific file from specific releaseGitHub CLI 从特定版本下载特定文件
【发布时间】:2021-03-04 15:54:27
【问题描述】:

我尝试了多种方法从特定版本下载特定文件,但它不起作用。


Windows 版本:

gh version 1.6.2 (2021-02-23)
https://github.com/cli/cli/releases/tag/v1.6.2

gh release view updates-2021-02-21 -R knah/VRCMods 返回:

updates-2021-02-21
knah released this about 11 days ago

  Refer to README for more info. New mod: True Shader Anticrash Changes:

  • Lag Free Screenshots - a bunch of different speedups, now uses less CPU too
  to encode screenshots
  • UI Expansion Kit - fix lags when toggling settings in some cases, add
  ability to update dropdown-styled settings, make modified ML check a bit more
  reliable
  • IKTweaks - fix crashes on some uncommon tracking setups
  • IKTweaks - potentially fixed some object disposed exceptions
  • Advanced Safety - add simple particle limiter
  • Advanced Safety - fix some audio effect being unnecessarily removed
  • Advanced Safety - reduce ugly stretching if skinned mesh bones are removed
  • View Point Tweaks - added forward compatibility with VRC beta update

  USE IT AT YOUR OWN RISK. Modding the client is against VRChat ToS. I am not
  responsible for any bans or other punishments you may get by using these
  mods!


Assets
AdvancedSafety.dll       38.50 KiB
IKTweaks.dll             122.50 KiB
LagFreeScreenshots.dll   18.50 KiB
TrueShaderAntiCrash.dll  158.00 KiB
UIExpansionKit.dll       264.50 KiB
ViewPointTweaker.dll     13.50 KiB

View on GitHub: https://github.com/knah/VRCMods/releases/tag/updates-2021-02-21

gh release download updates-2021-02-21 -R knah/VRCMods 下载此提交中的所有文件。




以下请求导致返回:no assets match the file pattern

  • gh release download -p 'UIExpansionKit.dll' updates-2021-02-21 -R knah/VRCMods
  • gh release download updates-2021-02-21 -p 'UIExpansionKit.dll' -R knah/VRCMods
  • gh release download updates-2021-02-21 -R knah/VRCMods -p 'UIExpansionKit.dll'

问题:有没有办法让它工作?

【问题讨论】:

  • 在 linux 上,我用相同的 gh 版本测试过,所有 3 个命令都适用于我
  • 你在 Windows 上使用什么 shell? bash、CMD、PowerShell 还是其他?
  • @bk2204 我使用了 cmd。我现在尝试了 git bash 并且它有效。谢谢你^^

标签: github github-cli


【解决方案1】:

@bk2204 感谢您的提问。

解决问题的方法是使用我安装的任何其他 shell:

  • PowerShell
  • Git 重击

【讨论】:

    猜你喜欢
    • 2021-06-10
    • 1970-01-01
    • 2017-10-09
    • 1970-01-01
    • 2021-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多