This repository was archived by the owner on Mar 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 48
48
GIT_USER : cloudalchemybot
49
49
GIT_CHGLOG_URL : https://github.com/git-chglog/git-chglog/releases/download/v0.14.0/git-chglog_0.14.0_linux_amd64.tar.gz
50
50
GIT_CHGLOG_SUM : ed65b1c1dad41ca0372ebc86cf4102cdbb3397259461f1c3730c4c61075a618a
51
+ GHR_URL : https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz
52
+ GHR_SUM : c428627270ae26e206cb526cb8c7bdfba475dd278f6691ddaf863355adadfa13
53
+ GHR_FILE : ghr_v0.13.0_linux_amd64/ghr
51
54
steps :
52
55
- checkout
53
56
- run : pip install git-semver
69
72
sha256sum -c <(echo "${GIT_CHGLOG_SUM} git-chglog.tar.gz") && \
70
73
tar -zvxf git-chglog.tar.gz git-chglog && \
71
74
chmod 755 git-chglog
75
+ - run :
76
+ name : Downloading ghr
77
+ command : |
78
+ curl -sL --fail "${GHR_URL}" -o 'ghr.tar.gz' && \
79
+ sha256sum -c <(echo "${GHR_SUM} ghr.tar.gz") && \
80
+ tar --strip-components 1 -zvxf ghr.tar.gz "${GHR_FILE}" && \
81
+ chmod 755 ghr
72
82
- run : ./git-chglog --output CHANGELOG.md --next-tag "${NEW_TAG}"
73
83
- run : git --no-pager diff
74
84
- run : git add CHANGELOG.md
77
87
- run :
78
88
name : Publishing release
79
89
command : |
80
- ghr \
90
+ ./ ghr \
81
91
-t ${GH_TOKEN} \
82
92
-u ${CIRCLE_PROJECT_USERNAME} \
83
93
-r ${CIRCLE_PROJECT_REPONAME} \
You can’t perform that action at this time.
0 commit comments