You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
※ 今より古いコミットについて、その当時のバージョンに合わせて git tag を打つまではしなくてよいと思います
理由
バージョン番号指定で nimble install ができないため
⟩ nimble install 'OOlib@0.2.1'
Downloading https://github.com/Glasses-Neo/OOlib using git
Warning: Package 'oolib' has an incorrect structure. It should contain a single directory hierarchy forsource files, named 'oolib', but file 'tmpl.nim' isin a directory named 'oolibpkg' instead. This will be an error in the future.
Hint: If 'oolibpkg' contains source files for building 'oolib', rename it to 'oolib'. Otherwise, prevent its installation by adding `skipDirs = @["oolibpkg"]` to the .nimble file.
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: Downloaded package's version does not satisfy requested version range: wanted 0.2.1 got 0.2.2.
正常にインストールできる場合は、以下のように出力されます。
⟩ nimble install 'cligen@1.5.18'
Downloading https://github.com/c-blake/cligen.git using git
Verifying dependencies for cligen@1.5.18
Installing cligen@1.5.18
Success: cligen installed successfully.
提案
git tag v0.2.2
を打ってほしいgit tag vX.X.X
を打つようにしてほしい※ 今より古いコミットについて、その当時のバージョンに合わせて
git tag
を打つまではしなくてよいと思います理由
バージョン番号指定で
nimble install
ができないため正常にインストールできる場合は、以下のように出力されます。
詳細
nimble でパッケージをバージョン指定してインストールする場合、バージョン情報はGitリポジトリのタグに基づいて判別されます。nimbleファイルのバージョン番号のみでは不足しています。
参考: Versions - nim-lang/nimble
このリポジトリはタグが振られていないため、最新版のインストールしかできない状態です。
参考
他の nimble パッケージでバージョン番号運用をしているパッケージを紹介します
The text was updated successfully, but these errors were encountered: