We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#91 のマージでトリガーされた、v2.6.0 リリース後の v2 タグ更新に失敗した。
🔗 https://github.com/route06/actions/actions/runs/13448637487/job/37579026796
Release workflow の bump_major_tag ジョブが失敗した。
https://github.com/route06/actions/blob/v2.6.0/.github/workflows/my_release.yml#L35-L57
The text was updated successfully, but these errors were encountered:
v2.6.0 のリリースは成功しているので、v2 タグは一旦手動で更新した。
$ git --version git version 2.48.1 $ git pull From ssh://github.com/route06/actions * [new tag] v2.6.0 -> v2.6.0 Already up to date. $ git tag -f v2 v2.6.0 Updated tag 'v2' (was 55b3a3d) $ git push origin v2 --force Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) To ssh://github.com/route06/actions.git + 55b3a3d...1557156 v2 -> v2 (forced update)
Sorry, something went wrong.
Git のバージョンはローカルも GitHub Actions も 2.48.1 だった。
2.48.1
fatal: Failed to resolve 'v2.6.0' as a valid ref. というエラーは、v2.6.0 というタグが git 実行環境にないのに git tag -f v2 v2.6.0 を実行すると発生する。
fatal: Failed to resolve 'v2.6.0' as a valid ref.
git tag -f v2 v2.6.0
しかし、actions/checkout で fetch-tags: true は設定している。 https://github.com/route06/actions/blob/v2.6.0/.github/workflows/my_release.yml#L45-L47
fetch-tags: true
似たような issue がいくつかある。
fetch-tags
fetch-depth: 1 を追加すると回避できる情報あり。次回のリリースも失敗したら、検討してみよう。
fetch-depth: 1
参考までに、前回リリースに成功した v2.5.0 の日付は 2024/10/02 だった。
#97 (comment) に書いたとおり、今回は v2 タグの手動更新で対応した。次回のリリースでも発生したら検討する。
masutaka
No branches or pull requests
#91 のマージでトリガーされた、v2.6.0 リリース後の v2 タグ更新に失敗した。
🔗 https://github.com/route06/actions/actions/runs/13448637487/job/37579026796
Release workflow の bump_major_tag ジョブが失敗した。
https://github.com/route06/actions/blob/v2.6.0/.github/workflows/my_release.yml#L35-L57
The text was updated successfully, but these errors were encountered: