Skip to content

Commit ee7663e

Browse files
authored
Fix the error usage of version (#525)
1 parent 0c9ec35 commit ee7663e

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/settings.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ labels:
4949
color: FBCA04
5050
- name: priority-low
5151
color: 006B75
52+
- name: kind/bug
53+
color: c2c2fc
54+
- name: kind/feature
55+
color: c2c2fc
56+
- name: kind/doc
57+
color: c2c2fc
58+
- name: kind/dep
59+
color: c2c2fc
60+
- name: kind/chore
61+
color: c2c2fc
5262
branches:
5363
- name: master
5464
protection:

.goreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ builds:
1515
post:
1616
- upx "{{ .Path }}"
1717
ldflags:
18-
- -X github.com/jenkins-zh/jenkins-cli/app.version={{.Version}}
19-
- -X github.com/jenkins-zh/jenkins-cli/app.commit={{.ShortCommit}}
20-
- -X github.com/jenkins-zh/jenkins-cli/app.date={{.Date}}
18+
- -X github.com/linuxsuren/cobra-extension/version.version={{.Version}}
19+
- -X github.com/linuxsuren/cobra-extension/version.commit={{.ShortCommit}}
20+
- -X github.com/linuxsuren/cobra-extension/version.date={{.Date}}
2121
- -w
22+
- -s
2223
dist: release
2324
archives:
2425
- name_template: "{{ .Binary }}-{{ .Os }}-{{ .Arch }}"

0 commit comments

Comments
 (0)