File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 59
59
uses : cargo-bins/cargo-binstall@main
60
60
61
61
- name : Install git-cliff
62
- run : cargo binstall -y git-cliff
62
+ run : cargo binstall -y git-cliff --install-path org-repo
63
63
64
64
- name : increment version
65
65
working-directory : ${{ inputs.repo }}
Original file line number Diff line number Diff line change @@ -98,8 +98,11 @@ def get_changelog(
98
98
if full and changelog .exists ():
99
99
old = changelog .read_text (encoding = "utf-8" )
100
100
output = changelog
101
+ exe_name = "git-cliff"
102
+ if environ .get ("CI" , "false" ) == "true" :
103
+ exe_name = (GIT_CLIFF_CONFIG .parent .parent / exe_name ).resolve ().as_posix ()
101
104
args = [
102
- "git-cliff" ,
105
+ exe_name ,
103
106
"--config" ,
104
107
str (GIT_CLIFF_CONFIG ),
105
108
"--tag" ,
You can’t perform that action at this time.
0 commit comments