Commit d139839 1 parent 3523d79 commit d139839 Copy full SHA for d139839
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -150,9 +150,9 @@ jobs:
150
150
151
151

152
152
- uses : actions/checkout@v4
153
- if : needs.publish-release.semver_check.outputs.draft != true
153
+ if : needs.publish-release.semver_check.outputs.make_latest
154
154
- name : Update Homebrew
155
- if : needs.publish-release.semver_check.outputs.draft != true
155
+ if : needs.publish-release.semver_check.outputs.make_latest
156
156
run : |
157
157
v=${{ github.ref_name }}
158
158
packaging/homebrew-package.sh "${v#v}" tel2oss "${{ vars.GH_BOT_USER }}" "${{ vars.GH_BOT_EMAIL }}" "${{ secrets.HOMEBREW_TAP_TOKEN }}"
Original file line number Diff line number Diff line change @@ -125,13 +125,14 @@ git config --local user.name "${GITHUB_USER}"
125
125
126
126
git add " ${FORMULA} "
127
127
git commit -m " Release ${VERSION} "
128
+ git tag --message " Release ${VERSION} " " ${VERSION} "
128
129
129
130
# This cat is just so we can see the formula in case
130
131
# the git permissions are incorrect and we can't publish
131
132
# the change. Once we know the automation is working, we can
132
133
# remove it.
133
134
cat " ${FORMULA} "
134
- git push origin main
135
+ git push origin " ${VERSION} " main
135
136
136
137
# Clean up the working directory
137
138
rm -rf " ${WORK_DIR} "
You can’t perform that action at this time.
0 commit comments