[ISSUE]: gittools/actions/gitversion/setup@v4 without inputs selects gitversion v7.x.x

オープン 初心者向け
#2,297 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, typescript
領域
ci-cd

調査の方向性

gitversion/setup アクションから始め、入力が指定されていない場合に GitVersion.Tool のバージョンをどのように選択するかを追ってください。issue ではソースファイルやテストは指定されていません。提示された workflow を再現し、強制される範囲 >=6.2.0 <7.0.0 に対するバージョン選択を調べてください。setup が範囲内で最も高いリリース 6.8.2 を範囲エラーなしで選択すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Prerequisites
  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported
GitVersion package

GitHub Actions

What are you seeing?

When using gittools/actions/gitversion/setup@v4 it selects the latest release that falls outside of the enforced range.

--------------------------
Acquiring GitVersion.Tool for version spec: 
--------------------------
Querying tool versions for GitVersion.Tool 
Found matching version: 7.0.0
Error: Version spec '' resolved as '7.0.0' does not satisfy the range '>=6.2.0 <7.0.0'.See https://github.com/GitTools/actions/blob/main/docs/versions.md for more information.
Error: Version spec '' resolved as '7.0.0' does not satisfy the range '>=6.2.0 <7.0.0'.See https://github.com/GitTools/actions/blob/main/docs/versions.md for more information.
What is expected?

That it would select the highest version within the range 6.8.2.

Steps to Reproduce

setup a github actions worklfow with

name: test
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: gittools/actions/gitversion/setup@v4
Output log or link to your CI build (if appropriate).

主要言語
TypeScript
スター
274
フォーク
87
平均マージ
20時間 15分
マージ済み PR(30日)
45

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。