99designs / 99designs/iamy

Proposal: .iamy-version file

未关闭
#62 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
245
派生
22
PR 合并指标
30 天内没有已合并 PR

描述

We've had a few issues where people have gotten stuck/confused because the version of iamy they're running is newer/older than the version last used in that repository.

I'd like to add an `.iamy-version` file to be written to working directory that is in part inspired by Ruby bundler's version checking.

Behaviour:

* if it doesn't exist, it's created as `.iamy-version` with the current output of `iamy --version` and an INFO message is printed
* if it does exist and your version is newer than what's in `.iamy-version`, the file is overwritten and an INFO message is printed
* if it does exist and your version is the same, nothing happens
* if it does exist and your version is older by minor or patch version, a WARN message is printed
* if it does exist and your version is older by major version, an ERROR message is printed and execution stops

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。