Skip to content

Commit 6c6cf66

Browse files
authored
add command transform (#157)
1 parent a520c70 commit 6c6cf66

File tree

13 files changed

+175
-33
lines changed

13 files changed

+175
-33
lines changed

.github/workflows/Release.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,22 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929
- name: Set up Go
30-
uses: actions/setup-go@v3
30+
uses: actions/setup-go@v4
3131
with:
3232
go-version: 1.19
3333

3434
- name: Build
35-
run: make VERSION="${{ needs.create_release.outputs.version }}"
35+
run: make
36+
env:
37+
VERSION: "${{ needs.create_release.outputs.version }}"
3638

3739
- name: Test
3840
run: make test
3941

4042
- name: create changelog & update release-template.md
41-
run: LATEST_VERSION="${{ needs.create_release.outputs.latest-version }}" make chglog
43+
run: make chglog
44+
env:
45+
LATEST_VERSION: "${{ needs.create_release.outputs.latest-version }}"
4246

4347
- name: Cache build outputs
4448
uses: actions/cache@v3

.github/workflows/branchPR.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121
- name: Set up Go
22-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v4
2323
with:
2424
go-version: 1.19
2525

2626
- name: Build
27-
run: make VERSION="${{ needs.generate_infos.outputs.version }}"
27+
run: make
28+
env:
29+
VERSION: "${{ needs.generate_infos.outputs.version }}"
2830

2931
- name: Test
3032
run: make test
@@ -43,7 +45,9 @@ jobs:
4345
run: export | grep ACI_
4446

4547
- name: create changelog & update release-template.md
46-
run: LATEST_VERSION="${{ needs.generate_infos.outputs.latest-version }}" make chglog
48+
run: make chglog
49+
env:
50+
LATEST_VERSION: "${{ needs.generate_infos.outputs.latest-version }}"
4751

4852
- name: Cache build outputs
4953
uses: actions/cache@v3

go.mod

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ go 1.20
55
require (
66
github.com/coreos/go-semver v0.3.1
77
github.com/ghodss/yaml v1.0.0
8-
github.com/go-git/go-git/v5 v5.6.0
9-
github.com/google/go-github/v49 v49.1.0
8+
github.com/go-git/go-git/v5 v5.7.0
9+
github.com/google/go-github/v52 v52.0.0
1010
github.com/itchyny/gojq v0.12.12
11-
github.com/spf13/cobra v1.6.1
12-
github.com/xanzy/go-gitlab v0.80.3
13-
golang.org/x/oauth2 v0.6.0
11+
github.com/spf13/cobra v1.7.0
12+
github.com/xanzy/go-gitlab v0.83.0
13+
golang.org/x/oauth2 v0.8.0
1414
gopkg.in/yaml.v2 v2.4.0
1515
)
1616

1717
require (
1818
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
19+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
1920
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2021
github.com/itchyny/timefmt-go v0.1.5 // indirect
2122
github.com/kr/pretty v0.3.1 // indirect
@@ -25,34 +26,34 @@ require (
2526
)
2627

2728
require (
28-
github.com/Microsoft/go-winio v0.6.0 // indirect
29-
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
29+
github.com/Microsoft/go-winio v0.6.1 // indirect
30+
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
3031
github.com/acomagu/bufpipe v1.0.4 // indirect
31-
github.com/cloudflare/circl v1.3.2 // indirect
32+
github.com/cloudflare/circl v1.3.3 // indirect
3233
github.com/emirpasic/gods v1.18.1 // indirect
33-
github.com/go-git/gcfg v1.5.0 // indirect
34+
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
3435
github.com/go-git/go-billy/v5 v5.4.1 // indirect
35-
github.com/golang/protobuf v1.5.2 // indirect
36+
github.com/golang/protobuf v1.5.3 // indirect
3637
github.com/google/go-querystring v1.1.0 // indirect
3738
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
3839
github.com/hashicorp/go-hclog v1.4.0 // indirect
3940
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
40-
github.com/imdario/mergo v0.3.13 // indirect
41+
github.com/imdario/mergo v0.3.15 // indirect
4142
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
4243
github.com/kevinburke/ssh_config v1.2.0 // indirect
4344
github.com/mattn/go-colorable v0.1.13 // indirect
4445
github.com/pjbgf/sha1cd v0.3.0 // indirect
4546
github.com/sergi/go-diff v1.3.1 // indirect
46-
github.com/sirupsen/logrus v1.9.0
47-
github.com/skeema/knownhosts v1.1.0 // indirect
47+
github.com/sirupsen/logrus v1.9.2
48+
github.com/skeema/knownhosts v1.1.1 // indirect
4849
github.com/xanzy/ssh-agent v0.3.3 // indirect
49-
golang.org/x/crypto v0.7.0 // indirect
50-
golang.org/x/mod v0.9.0 // indirect
51-
golang.org/x/net v0.8.0 // indirect
52-
golang.org/x/sys v0.6.0 // indirect
50+
golang.org/x/crypto v0.9.0 // indirect
51+
golang.org/x/mod v0.10.0 // indirect
52+
golang.org/x/net v0.10.0 // indirect
53+
golang.org/x/sys v0.8.0 // indirect
5354
golang.org/x/time v0.3.0 // indirect
54-
golang.org/x/tools v0.7.0 // indirect
55+
golang.org/x/tools v0.9.1 // indirect
5556
google.golang.org/appengine v1.6.7 // indirect
56-
google.golang.org/protobuf v1.28.1 // indirect
57+
google.golang.org/protobuf v1.30.0 // indirect
5758
gopkg.in/warnings.v0 v0.1.2 // indirect
5859
)

0 commit comments

Comments
 (0)