changelog generator & diff tool stormlightlabs.github.io/git-storm/
changelog changeset markdown golang git

fix: another one

Changed files
+16 -109
+10 -99
.goreleaser.yaml
··· 8 - task gen:manpage 9 10 builds: 11 - - id: storm-linux-amd64 12 - main: ./cmd 13 - binary: storm 14 - env: 15 - - CGO_ENABLED=0 16 - goos: 17 - - linux 18 - goarch: 19 - - amd64 20 - 21 - - id: storm-linux-arm64 22 - main: ./cmd 23 - binary: storm 24 - env: 25 - - CGO_ENABLED=0 26 - goos: 27 - - linux 28 - goarch: 29 - - arm64 30 - 31 - - id: storm-linux-386 32 main: ./cmd 33 binary: storm 34 env: 35 - CGO_ENABLED=0 36 - goos: 37 - - linux 38 - goarch: 39 - - "386" 40 - 41 - - id: storm-windows-amd64 42 - main: ./cmd 43 - binary: storm.exe 44 - env: 45 - - CGO_ENABLED=0 46 - goos: 47 - - windows 48 - goarch: 49 - - amd64 50 - 51 - - id: storm-windows-arm64 52 - main: ./cmd 53 - binary: storm.exe 54 - env: 55 - - CGO_ENABLED=0 56 - goos: 57 - - windows 58 - goarch: 59 - - arm64 60 - 61 - - id: storm-windows-386 62 - main: ./cmd 63 - binary: storm.exe 64 - env: 65 - - CGO_ENABLED=0 66 - goos: 67 - - windows 68 - goarch: 69 - - "386" 70 - 71 - - id: storm-darwin-amd64 72 - main: ./cmd 73 - binary: storm 74 - env: 75 - - CGO_ENABLED=0 76 - goos: 77 - - darwin 78 - goarch: 79 - - amd64 80 - 81 - - id: storm-darwin-arm64 82 - main: ./cmd 83 - binary: storm 84 - env: 85 - - CGO_ENABLED=0 86 - goos: 87 - - darwin 88 - goarch: 89 - - arm64 90 91 archives: 92 - id: default 93 - ids: 94 - - storm-linux-amd64 95 - - storm-linux-arm64 96 - - storm-linux-386 97 - - storm-windows-amd64 98 - - storm-windows-arm64 99 - - storm-windows-386 100 - - storm-darwin-amd64 101 - - storm-darwin-arm64 102 - formats: 103 - - tar.gz 104 name_template: >- 105 {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }} 106 format_overrides: 107 - goos: windows 108 - formats: 109 - - zip 110 - 111 - - id: extras 112 - meta: true 113 - ids: 114 - - storm-linux-amd64 115 - name_template: >- 116 - {{ .ProjectName }}_{{ .Version }}_extras 117 files: 118 - - "dist/completions/*" 119 - - "dist/manpages/*" 120 121 changelog: 122 sort: asc ··· 150 bash: completions/storm.bash 151 zsh: completions/storm.zsh 152 fish: completions/storm.fish 153 - directory: casks 154 commit_msg_template: "Brew cask update for Storm version {{ .Tag }}" 155 skip_upload: false 156 ids: 157 - default 158 - - extras
··· 8 - task gen:manpage 9 10 builds: 11 + - id: storm 12 main: ./cmd 13 binary: storm 14 env: 15 - CGO_ENABLED=0 16 + goos: [linux, darwin, windows] 17 + goarch: [amd64, arm64, "386"] 18 19 archives: 20 - id: default 21 + formats: [tar.gz] 22 name_template: >- 23 {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }} 24 format_overrides: 25 - goos: windows 26 + formats: [zip] 27 + # 👇 this is the important part 28 files: 29 + - completions/** 30 + - manpages/** 31 + # the `**` ensures recursive inclusion from project root 32 33 changelog: 34 sort: asc ··· 62 bash: completions/storm.bash 63 zsh: completions/storm.zsh 64 fish: completions/storm.fish 65 + directory: Casks 66 commit_msg_template: "Brew cask update for Storm version {{ .Tag }}" 67 skip_upload: false 68 ids: 69 - default
+6 -10
Taskfile.yml
··· 97 gen:completions: 98 desc: Generate shell completion files 99 cmds: 100 - - mkdir -p dist/completions 101 - for sh in bash zsh fish; do 102 - go run ./cmd completion "$sh" > dist/completions/storm."$sh"; 103 done 104 - generates: 105 - - "dist/completions/storm.bash" 106 - - "dist/completions/storm.zsh" 107 - - "dist/completions/storm.fish" 108 109 gen:manpage: 110 desc: Generate man page file 111 cmds: 112 - - mkdir -p dist/manpages 113 - - go run ./cmd man > dist/manpages/storm.1 114 - generates: 115 - - "dist/manpages/storm.1"
··· 97 gen:completions: 98 desc: Generate shell completion files 99 cmds: 100 + - rm -rf completions 101 + - mkdir -p completions 102 - for sh in bash zsh fish; do 103 + go run ./cmd completion "$sh" > completions/storm."$sh"; 104 done 105 106 gen:manpage: 107 desc: Generate man page file 108 cmds: 109 + - rm -rf manpages 110 + - mkdir -p manpages 111 + - go run ./cmd man > manpages/storm.1