Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
github-token: ${{ secrets.GITHUB_TOKEN }}
commit-all: 'true'
3 changes: 1 addition & 2 deletions cmd/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down