GitHub-release资源总是发出最新版本。我想要获取一个特定的标签,该标签具有文件中指定的版本。
下面没有获取版本- github-release - pinned version tag: path/to/the/file/with/version not found
- get: github-release
version:
tag: path/to/the/file/with/version
params:
include_source_zip: true我能够通过对版本进行硬编码获得较旧的版本
- get: github-release
version: { tag : 'v1.0.0' }
params:
include_source_zip: true和fly check-resource -r pipeline/github-release-resource --from tag:v1.0.0
发布于 2020-12-04 01:05:54
这是一个大厅配置。基本上,正如here所说,除非重置管道,否则您无法在运行时真正更改此设置:
通过管道配置的
固定对于更持久的固定状态很有用。如果通过管道配置固定资源,则无法通过web UI修改该资源,只能通过修改和重置管道配置进行更改。
另外,命令fly check-resource ...对于验证版本是否确实存在非常有用。
https://stackoverflow.com/questions/64993288
复制相似问题