diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index ec2843b..32f03fe 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -53,8 +53,9 @@ jobs: - name: Commit Files id: commit - uses: kassett/autocommit-changes@v1 + uses: kassett/autocommit-changes@2025-04-21-migrating-to-gh-commit with: commit-message: "Updating tracked Git version in source code" branch: ${{ github.head_ref }} - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + commit-all: 'true' \ No newline at end of file diff --git a/cmd/args.go b/cmd/args.go index 9954435..7ccb64f 100644 --- a/cmd/args.go +++ b/cmd/args.go @@ -287,10 +287,9 @@ var rootCmd = &cobra.Command{ versionFlag, _ := cmd.Flags().GetBool("version") if versionFlag { - fmt.Printf("%s %s %s\n", + fmt.Printf("%s %s\n", color.New(color.FgBlue, color.Bold).Sprint("🔖 gh-commit"), color.New(color.FgGreen).Sprint(VERSION), - color.New(color.Faint).Sprint("(CLI tool)"), ) os.Exit(0) } diff --git a/cmd/execute.go b/cmd/execute.go index 305a89e..3e8238a 100644 --- a/cmd/execute.go +++ b/cmd/execute.go @@ -11,7 +11,7 @@ import ( ) // VERSION number: changed in CI -const VERSION = "v0.1.1" +const VERSION = "v0.1.2" var rootPath string var repo repository.Repository